diff options
author | Rickard Strandqvist <rickard_strandqvist@spectrumdigital.se> | 2015-01-07 06:40:17 -0500 |
---|---|---|
committer | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | 2015-02-08 21:45:17 -0500 |
commit | cf86da489d9bf7abed2e7034d94e75fb17b7b1b2 (patch) | |
tree | 09849bec50c0f2d5ada2f4af6717436339463a76 /drivers/net/ethernet/intel/i40e/i40e_fcoe.c | |
parent | dd83829ed9da6262487252851ca0aa67600d7d56 (diff) |
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 <rickard_strandqvist@spectrumdigital.se>
Tested-by: Jim Young <james.m.young@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'drivers/net/ethernet/intel/i40e/i40e_fcoe.c')
-rw-r--r-- | drivers/net/ethernet/intel/i40e/i40e_fcoe.c | 9 |
1 files changed, 0 insertions, 9 deletions
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 | |||
@@ -39,15 +39,6 @@ | |||
39 | #include "i40e_fcoe.h" | 39 | #include "i40e_fcoe.h" |
40 | 40 | ||
41 | /** | 41 | /** |
42 | * i40e_rx_is_fip - returns true if the rx packet type is FIP | ||
43 | * @ptype: the packet type field from rx descriptor write-back | ||
44 | **/ | ||
45 | static inline bool i40e_rx_is_fip(u16 ptype) | ||
46 | { | ||
47 | return ptype == I40E_RX_PTYPE_L2_FIP_PAY2; | ||
48 | } | ||
49 | |||
50 | /** | ||
51 | * i40e_rx_is_fcoe - returns true if the rx packet type is FCoE | 42 | * i40e_rx_is_fcoe - returns true if the rx packet type is FCoE |
52 | * @ptype: the packet type field from rx descriptor write-back | 43 | * @ptype: the packet type field from rx descriptor write-back |
53 | **/ | 44 | **/ |