summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/sfc/nic.h
diff options
context:
space:
mode:
authorBen Hutchings2012-02-24 22:29:40 +0100
committerBen Hutchings2012-03-06 19:14:13 +0100
commitbdca71ede7356e4a5838724a0a40be63ac549641 (patch)
tree12a98c870fae5f15cc233551c01db023edb46024 /drivers/net/ethernet/sfc/nic.h
parentsfc: Fix calculation of vf_i in map_vi_index() (diff)
downloadkernel-qcow2-linux-bdca71ede7356e4a5838724a0a40be63ac549641.tar.gz
kernel-qcow2-linux-bdca71ede7356e4a5838724a0a40be63ac549641.tar.xz
kernel-qcow2-linux-bdca71ede7356e4a5838724a0a40be63ac549641.zip
sfc: Remove redundant function efx_nic_has_mc()
This function is now used in only one place, where it always returns true. Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
Diffstat (limited to 'drivers/net/ethernet/sfc/nic.h')
-rw-r--r--drivers/net/ethernet/sfc/nic.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/net/ethernet/sfc/nic.h b/drivers/net/ethernet/sfc/nic.h
index 246c4140453c..ac12f7f7f35b 100644
--- a/drivers/net/ethernet/sfc/nic.h
+++ b/drivers/net/ethernet/sfc/nic.h
@@ -35,10 +35,6 @@ static inline int efx_nic_rev(struct efx_nic *efx)
extern u32 efx_nic_fpga_ver(struct efx_nic *efx);
-static inline bool efx_nic_has_mc(struct efx_nic *efx)
-{
- return efx_nic_rev(efx) >= EFX_REV_SIENA_A0;
-}
/* NIC has two interlinked PCI functions for the same port. */
static inline bool efx_nic_is_dual_func(struct efx_nic *efx)
{