From faa4ee75364dcb5343790d5fcf850cebdf7353f6 Mon Sep 17 00:00:00 2001 From: Haiyue Wang Date: Wed, 17 Jul 2019 01:04:07 +0800 Subject: [PATCH] examples/tep_term: remove duplicate definitions The state of virtio device has been defined in both header file and source file, keep the definition in header file for public use. Fixes: a50245ede72a ("examples/tep_term: initialize VXLAN sample") Cc: stable@dpdk.org Signed-off-by: Haiyue Wang --- examples/tep_termination/main.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/examples/tep_termination/main.c b/examples/tep_termination/main.c index 9d8ab17ddc..ab956ad7ce 100644 --- a/examples/tep_termination/main.c +++ b/examples/tep_termination/main.c @@ -52,11 +52,6 @@ #define JUMBO_FRAME_MAX_SIZE 0x2600 -/* State of virtio device. */ -#define DEVICE_MAC_LEARNING 0 -#define DEVICE_RX 1 -#define DEVICE_SAFE_REMOVE 2 - /* Config_core_flag status definitions. */ #define REQUEST_DEV_REMOVAL 1 #define ACK_DEV_REMOVAL 0 -- 2.20.1