i40e: i40e_fcoe.c: Remove unused function
[linux-2.6-block.git] / drivers / net / ethernet / intel / i40e / i40e_fcoe.c
index a8b8bd95108dd587bd961d144af334fb175da7f7..dc8cbdde9e23949ffaccf8c8ce37d6eb8490a699 100644 (file)
 #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
@@ -1515,8 +1506,6 @@ void i40e_fcoe_config_netdev(struct net_device *netdev, struct i40e_vsi *vsi)
        i40e_add_filter(vsi, (u8[6]) FC_FCOE_FLOGI_MAC, 0, false, false);
        i40e_add_filter(vsi, FIP_ALL_FCOE_MACS, 0, false, false);
        i40e_add_filter(vsi, FIP_ALL_ENODE_MACS, 0, false, false);
-       i40e_add_filter(vsi, FIP_ALL_VN2VN_MACS, 0, false, false);
-       i40e_add_filter(vsi, FIP_ALL_P2P_MACS, 0, false, false);
 
        /* use san mac */
        ether_addr_copy(netdev->dev_addr, hw->mac.san_addr);