From: anlan_cs Date: Mon, 31 Oct 2022 10:14:07 +0000 (-0400) Subject: include: remove one unused macro X-Git-Tag: base_8.5~280^2 X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=refs%2Fpull%2F12235%2Fhead;p=mirror%2Ffrr.git 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 --- 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,