From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 210F0A0471 for ; Tue, 16 Jul 2019 19:11:07 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id EB89A324D; Tue, 16 Jul 2019 19:11:06 +0200 (CEST) Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by dpdk.org (Postfix) with ESMTP id A8148324D; Tue, 16 Jul 2019 19:11:04 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by orsmga102.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 16 Jul 2019 10:11:03 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.64,271,1559545200"; d="scan'208";a="366731208" Received: from npg-dpdk-haiyue-2.sh.intel.com ([10.67.118.225]) by fmsmga006.fm.intel.com with ESMTP; 16 Jul 2019 10:11:02 -0700 From: Haiyue Wang To: dev@dpdk.org Cc: Haiyue Wang , stable@dpdk.org Date: Wed, 17 Jul 2019 01:04:07 +0800 Message-Id: <1563296647-19887-1-git-send-email-haiyue.wang@intel.com> X-Mailer: git-send-email 2.7.4 Subject: [dpdk-stable] [PATCH v1] examples/tep_term: remove the duplicate device state definition X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org Sender: "stable" 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 9d8ab17..ab956ad 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.7.4