Skip to content

Commit

Permalink
include: remove one unused macro
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
anlancs committed Nov 1, 2022
1 parent 6863cf6 commit 004beb0
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions include/linux/rtnetlink.h
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 004beb0

Please sign in to comment.