From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <keith.wiles@intel.com>
Received: from mga03.intel.com (mga03.intel.com [134.134.136.65])
 by dpdk.org (Postfix) with ESMTP id C00F3ADB7
 for <dev@dpdk.org>; Mon, 23 Feb 2015 19:24:47 +0100 (CET)
Received: from orsmga001.jf.intel.com ([10.7.209.18])
 by orsmga103.jf.intel.com with ESMTP; 23 Feb 2015 10:19:09 -0800
X-ExtLoop1: 1
X-IronPort-AV: E=Sophos;i="5.09,632,1418112000"; d="scan'208";a="655999342"
Received: from savasthy-mobl.amr.corp.intel.com ([10.254.180.79])
 by orsmga001.jf.intel.com with ESMTP; 23 Feb 2015 10:24:46 -0800
From: Keith Wiles <keith.wiles@intel.com>
To: dev@dpdk.org
Date: Mon, 23 Feb 2015 12:24:43 -0600
Message-Id: <1424715883-46989-1-git-send-email-keith.wiles@intel.com>
X-Mailer: git-send-email 2.3.0
Subject: [dpdk-dev] [PATCH] Remove unused static function
	revert_protocol_type() causing error with clang
X-BeenThere: dev@dpdk.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: patches and discussions about DPDK <dev.dpdk.org>
List-Unsubscribe: <http://dpdk.org/ml/options/dev>,
 <mailto:dev-request@dpdk.org?subject=unsubscribe>
List-Archive: <http://dpdk.org/ml/archives/dev/>
List-Post: <mailto:dev@dpdk.org>
List-Help: <mailto:dev-request@dpdk.org?subject=help>
List-Subscribe: <http://dpdk.org/ml/listinfo/dev>,
 <mailto:dev-request@dpdk.org?subject=subscribe>
X-List-Received-Date: Mon, 23 Feb 2015 18:24:48 -0000

Signed-off-by: Keith Wiles <keith.wiles@intel.com>
---
 lib/librte_pmd_ixgbe/ixgbe_ethdev.c | 13 -------------
 1 file changed, 13 deletions(-)

diff --git a/lib/librte_pmd_ixgbe/ixgbe_ethdev.c b/lib/librte_pmd_ixgbe/ixgbe_ethdev.c
index ad903d4..ea6f13d 100644
--- a/lib/librte_pmd_ixgbe/ixgbe_ethdev.c
+++ b/lib/librte_pmd_ixgbe/ixgbe_ethdev.c
@@ -3809,19 +3809,6 @@ convert_protocol_type(uint8_t protocol_value)
 		return IXGBE_FILTER_PROTOCOL_NONE;
 }
 
-static inline uint8_t
-revert_protocol_type(enum ixgbe_5tuple_protocol protocol)
-{
-	if (protocol == IXGBE_FILTER_PROTOCOL_TCP)
-		return IPPROTO_TCP;
-	else if (protocol == IXGBE_FILTER_PROTOCOL_UDP)
-		return IPPROTO_UDP;
-	else if (protocol == IXGBE_FILTER_PROTOCOL_SCTP)
-		return IPPROTO_SCTP;
-	else
-		return 0;
-}
-
 /*
  * add a 5tuple filter
  *
-- 
2.3.0