Standardize `!ptr` i/o `ptr == NULL`, `ptr` i/o `ptr != NULL`
[babeltrace.git] / src / plugins / lttng-utils / debug-info / debug-info.c
index f330f1be6ee74d7187d58048506e18b3e3c1c151..10e5a7de6f710698009bb94925c0f4c75ef38d6c 100644 (file)
@@ -443,7 +443,7 @@ static inline
 bool event_has_payload_field(const bt_event *event,
                const char *field_name)
 {
-       return event_borrow_payload_field(event, field_name) != NULL;
+       return event_borrow_payload_field(event, field_name);
 }
 
 static
This page took 0.023168 seconds and 4 git commands to generate.