From 1240ba1807372e0353fb8cf204681971377d8927 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Sun, 16 Nov 2025 08:11:07 +0100 Subject: [PATCH] iovec-util: drop redundant () --- src/fundamental/iovec-util-fundamental.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/fundamental/iovec-util-fundamental.h b/src/fundamental/iovec-util-fundamental.h index 024dd9bf78..ef193a0dec 100644 --- a/src/fundamental/iovec-util-fundamental.h +++ b/src/fundamental/iovec-util-fundamental.h @@ -38,5 +38,5 @@ static inline bool iovec_is_set(const struct iovec *iovec) { static inline bool iovec_is_valid(const struct iovec *iovec) { /* Checks if the iovec is either NULL, empty or points to a valid bit of memory */ - return !iovec || (iovec->iov_base || iovec->iov_len == 0); + return !iovec || iovec->iov_base || iovec->iov_len == 0; }