basic/iovec-util: drop TAKE_IOVEC

As suggested in
https://github.com/systemd/systemd/pull/29679#discussion_r1368678932.
This commit is contained in:
Zbigniew Jędrzejewski-Szmek
2023-10-23 22:23:13 +02:00
parent 7dc951ef91
commit 3c9783c7f4
2 changed files with 1 additions and 3 deletions
-2
View File
@@ -19,8 +19,6 @@ bool iovec_increment(struct iovec *iovec, size_t n, size_t k);
IOVEC_MAKE((char*) _s, strlen(_s)); \
})
#define TAKE_IOVEC(p) TAKE_GENERIC((p), struct iovec, {})
static inline void iovec_done(struct iovec *iovec) {
/* A _cleanup_() helper that frees the iov_base in the iovec */
assert(iovec);