From 004beb021a39038eea8784cabcde3e25b8815923 Mon Sep 17 00:00:00 2001 From: anlan_cs Date: Mon, 31 Oct 2022 06:14:07 -0400 Subject: [PATCH] include: remove one unused macro In "rtnetlink.h", four items are a group, e.g. 116/117/118/119 should be a group. But "RTM_SETHWFLAGS" is not in use and has nothing to do with "NEXTHOPBUCKET". After comparing with kernel header, better remove it imo. Signed-off-by: anlan_cs --- include/linux/rtnetlink.h | 3 --- 1 file changed, 3 deletions(-) diff --git a/include/linux/rtnetlink.h b/include/linux/rtnetlink.h index 71ad7bf69e..d03ed4d16e 100644 --- a/include/linux/rtnetlink.h +++ b/include/linux/rtnetlink.h @@ -185,9 +185,6 @@ enum { RTM_GETNEXTHOPBUCKET, #define RTM_GETNEXTHOPBUCKET RTM_GETNEXTHOPBUCKET - RTM_SETHWFLAGS = 119, -#define RTM_SETHWFLAGS RTM_SETHWFLAGS - RTM_NEWTUNNEL = 120, #define RTM_NEWTUNNEL RTM_NEWTUNNEL RTM_DELTUNNEL, -- 2.39.5