Remove unused static function revert_protocol_type() causing error with clang
PATCH 1/1 Remove unused static function revert_protocol_type() causing error with clang
Signed-off-by Keith Wiles <[email protected]>
--- lib/librte_pmd_ixgbe/ixgbe_ethdev.c | 13 ------------- 1 file changed, 13 deletions(-)
lib/librte_pmd_ixgbe/ixgbe_ethdev.c +0 -13
@@ -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 *
Signature · 1 line
2.3.0
A message that is not in the archive (sent off-list or not yet received): 1424715883-46989-1-git-send-email-keith.wiles-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org
2015-02-23 12:24, Keith Wiles:
Quoted 1 line
Signed-off-by Keith Wiles <[email protected]>
Acked-by Thomas Monjalon <[email protected]>
Applied, thanks