projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove unnecessary check of output parameter
[lttng-tools.git]
/
src
/
lib
/
lttng-ctl
/
channel.c
diff --git
a/src/lib/lttng-ctl/channel.c
b/src/lib/lttng-ctl/channel.c
index f2daf0d50e360f050e3146431b1fede07833ddf3..b399ea23b52dc2ea5ac036aad4d6f187b724d427 100644
(file)
--- a/
src/lib/lttng-ctl/channel.c
+++ b/
src/lib/lttng-ctl/channel.c
@@
-264,10
+264,8
@@
lttng_notification_channel_get_next_notification(
end_unlock:
pthread_mutex_unlock(&channel->lock);
end_unlock:
pthread_mutex_unlock(&channel->lock);
+ *_notification = notification;
end:
end:
- if (_notification) {
- *_notification = notification;
- }
return status;
}
return status;
}
This page took
0.02359 seconds
and
4
git commands to generate.