diff options
author | José Bollo <jose.bollo@iot.bzh> | 2017-06-07 18:38:26 +0200 |
---|---|---|
committer | José Bollo <jose.bollo@iot.bzh> | 2017-06-12 07:54:40 +0200 |
commit | 2fa03e0163e48d3ccbff9d953900250b52787968 (patch) | |
tree | 01a8d0819808b85b8f63a09ade1b9e348a8363b7 /include/afb/afb-event-itf.h | |
parent | 2f876805d8179fe46a0984deaa4e716926e6a96b (diff) |
Removes reference to NULL in includes
Change-Id: I94b2d57b8234f607167488afd24364920f9624f0
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
Diffstat (limited to 'include/afb/afb-event-itf.h')
-rw-r--r-- | include/afb/afb-event-itf.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/afb/afb-event-itf.h b/include/afb/afb-event-itf.h index 3d66a893..b1776ea0 100644 --- a/include/afb/afb-event-itf.h +++ b/include/afb/afb-event-itf.h @@ -52,7 +52,7 @@ struct afb_event */ static inline int afb_event_is_valid(struct afb_event event) { - return event.itf != NULL; + return !!event.itf; } /* |