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/sockios.h | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'include/arch/x86_64/linux/sockios.h') diff --git a/include/arch/x86_64/linux/sockios.h b/include/arch/x86_64/linux/sockios.h index 96c608f8..b2a64f98 100644 --- a/include/arch/x86_64/linux/sockios.h +++ b/include/arch/x86_64/linux/sockios.h @@ -42,10 +42,8 @@ #define SIOCGSTAMP SIOCGSTAMP_OLD #define SIOCGSTAMPNS SIOCGSTAMPNS_OLD #else -#define SIOCGSTAMP \ - ((sizeof(struct timeval)) == 8 ? SIOCGSTAMP_OLD : SIOCGSTAMP_NEW) -#define SIOCGSTAMPNS \ - ((sizeof(struct timespec)) == 8 ? SIOCGSTAMPNS_OLD : SIOCGSTAMPNS_NEW) +#define SIOCGSTAMP ((sizeof(struct timeval)) == 8 ? SIOCGSTAMP_OLD : SIOCGSTAMP_NEW) +#define SIOCGSTAMPNS ((sizeof(struct timespec)) == 8 ? SIOCGSTAMPNS_OLD : SIOCGSTAMPNS_NEW) #endif /* Routing table calls. */ -- cgit v1.2.3