From: Jérémie Galarneau Date: Fri, 5 Oct 2018 16:06:37 +0000 (-0400) Subject: Remove unnecessary check of output parameter X-Git-Tag: v2.10.6~17 X-Git-Url: http://git.liburcu.org/?a=commitdiff_plain;h=6aa2fd29e34ccb014f337d6d633b4f8cad50c746;hp=6aa2fd29e34ccb014f337d6d633b4f8cad50c746;p=lttng-tools.git Remove unnecessary check of output parameter It is not necessary to check for `_notification != NULL` as it is done at the beginning of the function. Moreover, it confuses Coverity which warns that `notification` will be leaked if the output parameter is NULL. Signed-off-by: Jérémie Galarneau ---