X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=src%2Fcommon%2Fcompat%2Fpoll.h;h=9e889767f8321a05ea23f97c211086cf0c6e3836;hp=49673cd5af643e40a10aa9173d1ff4cf489d0802;hb=0e428499a49b2335f4859058739fa2b20f4c410f;hpb=9d035200e9006c4d4cf6951c54641e06c0bdf2bc diff --git a/src/common/compat/poll.h b/src/common/compat/poll.h index 49673cd5a..9e889767f 100644 --- a/src/common/compat/poll.h +++ b/src/common/compat/poll.h @@ -43,9 +43,7 @@ extern unsigned int poll_max_size; */ static inline void __lttng_poll_free(void *events) { - if (events) { - free(events); - } + free(events); } /*