To tame gcc warning on it: net/core/xdp.c:20:0: warning: macro "REG_STATE_NEW" is not used [-Wunused-macros]
Signed-off-by: Alex Shi <[email protected]> Cc: "David S. Miller" <[email protected]> Cc: Jakub Kicinski <[email protected]> Cc: Alexei Starovoitov <[email protected]> Cc: Daniel Borkmann <[email protected]> Cc: Jesper Dangaard Brouer <[email protected]> Cc: John Fastabend <[email protected]> Cc: [email protected] Cc: [email protected] Cc: [email protected] --- net/core/xdp.c | 1 - 1 file changed, 1 deletion(-) diff --git a/net/core/xdp.c b/net/core/xdp.c index 48aba933a5a8..3d88aab19c89 100644 --- a/net/core/xdp.c +++ b/net/core/xdp.c @@ -19,7 +19,6 @@ #include <trace/events/xdp.h> #include <net/xdp_sock_drv.h> -#define REG_STATE_NEW 0x0 #define REG_STATE_REGISTERED 0x1 #define REG_STATE_UNREGISTERED 0x2 #define REG_STATE_UNUSED 0x3 -- 1.8.3.1
