iovec-util: drop redundant ()

This commit is contained in:
Lennart Poettering
2025-11-16 23:36:11 +01:00
parent 08d75cfb99
commit 1240ba1807
+1 -1
View File
@@ -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;
}