From: Rickard Strandqvist Date: Wed, 7 Jan 2015 11:40:17 +0000 (+0000) Subject: i40e: i40e_fcoe.c: Remove unused function X-Git-Tag: v4.0-rc1~133^2~5^2~14 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=cf86da489d9bf7abed2e7034d94e75fb17b7b1b2;p=karo-tx-linux.git i40e: i40e_fcoe.c: Remove unused function Remove the function i40e_rx_is_fip() that is not used anywhere. This was partially found by using a static code analysis program called cppcheck. Signed-off-by: Rickard Strandqvist Tested-by: Jim Young Signed-off-by: Jeff Kirsher --- diff --git a/drivers/net/ethernet/intel/i40e/i40e_fcoe.c b/drivers/net/ethernet/intel/i40e/i40e_fcoe.c index 2cd841b29059..dc8cbdde9e23 100644 --- a/drivers/net/ethernet/intel/i40e/i40e_fcoe.c +++ b/drivers/net/ethernet/intel/i40e/i40e_fcoe.c @@ -38,15 +38,6 @@ #include "i40e.h" #include "i40e_fcoe.h" -/** - * i40e_rx_is_fip - returns true if the rx packet type is FIP - * @ptype: the packet type field from rx descriptor write-back - **/ -static inline bool i40e_rx_is_fip(u16 ptype) -{ - return ptype == I40E_RX_PTYPE_L2_FIP_PAY2; -} - /** * i40e_rx_is_fcoe - returns true if the rx packet type is FCoE * @ptype: the packet type field from rx descriptor write-back