diff options
| author | Dr. David Alan Gilbert <[email protected]> | 2025-01-02 17:37:14 +0000 |
|---|---|---|
| committer | Jakub Kicinski <[email protected]> | 2025-01-06 21:31:48 +0000 |
| commit | 38dfb07d9a65dd408bc50f0cc8e49a5381bc40f5 (patch) | |
| tree | 50ecbeb02c24a33294f3f0bf7446eeab96377f4a /drivers/net/ethernet/intel/i40e/i40e.h | |
| parent | i40e: Remove unused i40e_get_cur_guaranteed_fd_count (diff) | |
| download | kernel-38dfb07d9a65dd408bc50f0cc8e49a5381bc40f5.tar.gz kernel-38dfb07d9a65dd408bc50f0cc8e49a5381bc40f5.zip | |
i40e: Remove unused i40e_del_filter
The last use of i40e_del_filter() was removed in 2016 by
commit 9569a9a4547d ("i40e: when adding or removing MAC filters, correctly
handle VLANs")
Remove it.
Fix up a comment that referenced it.
Note: The __ version of this function is still used.
Signed-off-by: Dr. David Alan Gilbert <[email protected]>
Reviewed-by: Tony Nguyen <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'drivers/net/ethernet/intel/i40e/i40e.h')
| -rw-r--r-- | drivers/net/ethernet/intel/i40e/i40e.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/ethernet/intel/i40e/i40e.h b/drivers/net/ethernet/intel/i40e/i40e.h index 5d9738b746f4..399a5dbf3506 100644 --- a/drivers/net/ethernet/intel/i40e/i40e.h +++ b/drivers/net/ethernet/intel/i40e/i40e.h @@ -1196,7 +1196,6 @@ void i40e_set_ethtool_ops(struct net_device *netdev); struct i40e_mac_filter *i40e_add_filter(struct i40e_vsi *vsi, const u8 *macaddr, s16 vlan); void __i40e_del_filter(struct i40e_vsi *vsi, struct i40e_mac_filter *f); -void i40e_del_filter(struct i40e_vsi *vsi, const u8 *macaddr, s16 vlan); int i40e_sync_vsi_filters(struct i40e_vsi *vsi); struct i40e_vsi *i40e_vsi_setup(struct i40e_pf *pf, u8 type, u16 uplink, u32 param1); |
