Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit cf86da48 authored by Rickard Strandqvist's avatar Rickard Strandqvist Committed by Jeff Kirsher
Browse files

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: default avatarRickard Strandqvist <rickard_strandqvist@spectrumdigital.se>
Tested-by: default avatarJim Young <james.m.young@intel.com>
Signed-off-by: default avatarJeff Kirsher <jeffrey.t.kirsher@intel.com>
parent dd83829e
Loading
Loading
Loading
Loading
+0 −9
Original line number Diff line number Diff line
@@ -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