summaryrefslogtreecommitdiff
path: root/include/arch/x86_64/linux/if_addr.h
diff options
context:
space:
mode:
authorKacper <kacper@mail.openlinux.dev>2025-12-25 19:24:38 +0100
committerKacper <kacper@mail.openlinux.dev>2025-12-25 20:35:03 +0100
commita984eb367c032dbe2577f01238c3d1268526be70 (patch)
tree437fef40379b2758b129ccea39df3570fa2d145e /include/arch/x86_64/linux/if_addr.h
parent8834571b202cf4dc9c649cfb096c213b6ecf1566 (diff)
Clang-tidy fixes
Diffstat (limited to 'include/arch/x86_64/linux/if_addr.h')
-rw-r--r--include/arch/x86_64/linux/if_addr.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/include/arch/x86_64/linux/if_addr.h b/include/arch/x86_64/linux/if_addr.h
index 43512efe..0200880e 100644
--- a/include/arch/x86_64/linux/if_addr.h
+++ b/include/arch/x86_64/linux/if_addr.h
@@ -65,9 +65,7 @@ struct ifa_cacheinfo {
};
/* backwards compatibility for userspace */
-#define IFA_RTA(r) \
- ((struct rtattr *)(((char *)(r)) + \
- NLMSG_ALIGN(sizeof(struct ifaddrmsg))))
+#define IFA_RTA(r) ((struct rtattr *)(((char *)(r)) + NLMSG_ALIGN(sizeof(struct ifaddrmsg))))
#define IFA_PAYLOAD(n) NLMSG_PAYLOAD(n, sizeof(struct ifaddrmsg))
/* ifa_proto */