Remove unnecessary check of output parameter
[lttng-tools.git] / src / lib / lttng-ctl / channel.c
index 5487d051b5013fd60b080491ce865966bc6ffeab..5271aa13fbd76218fca47b8984c6a055fc84b35f 100644 (file)
@@ -289,10 +289,8 @@ lttng_notification_channel_get_next_notification(
 
 end_unlock:
        pthread_mutex_unlock(&channel->lock);
+       *_notification = notification;
 end:
-       if (_notification) {
-               *_notification = notification;
-       }
        return status;
 }
 
This page took 0.024202 seconds and 5 git commands to generate.