From a984eb367c032dbe2577f01238c3d1268526be70 Mon Sep 17 00:00:00 2001 From: Kacper Date: Thu, 25 Dec 2025 19:24:38 +0100 Subject: Clang-tidy fixes --- include/arch/x86_64/linux/if_addr.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'include/arch/x86_64/linux/if_addr.h') 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 */ -- cgit v1.2.3