X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=src%2Fcommon%2Fcompat%2Fpoll.h;h=9e889767f8321a05ea23f97c211086cf0c6e3836;hb=ee69440bd276dbc8a5c78b0138c8e6944d571b4a;hp=49673cd5af643e40a10aa9173d1ff4cf489d0802;hpb=beaad64cecee395058e37c8b33dc50af99d771a4;p=lttng-tools.git 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); } /*