diff options
author | YueHaibing <yuehaibing@huawei.com> | 2020-02-19 02:34:58 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-02-20 01:26:02 +0100 |
commit | 1cb237d7904d7c6ba4c5be31ff6dc7d265f53b9a (patch) | |
tree | adfaa2e900661a106901e291be43941fbda04d3e /drivers/net/ethernet/sfc/efx.c | |
parent | Merge branch 'hns3-next' (diff) | |
download | linux-1cb237d7904d7c6ba4c5be31ff6dc7d265f53b9a.tar.xz linux-1cb237d7904d7c6ba4c5be31ff6dc7d265f53b9a.zip |
sfc: remove unused variable 'efx_default_channel_type'
drivers/net/ethernet/sfc/efx.c:116:38: warning:
efx_default_channel_type defined but not used [-Wunused-const-variable=]
commit 83975485077d ("sfc: move channel alloc/removal code")
left behind this, remove it.
Reported-by: Hulk Robot <hulkci@huawei.com>
Fixes: 83975485077d ("sfc: move channel alloc/removal code")
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Acked-by: Martin Habets <mhabets@solarflare.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/sfc/efx.c')
-rw-r--r-- | drivers/net/ethernet/sfc/efx.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/ethernet/sfc/efx.c b/drivers/net/ethernet/sfc/efx.c index 4481f21a1f43..256807c28ff7 100644 --- a/drivers/net/ethernet/sfc/efx.c +++ b/drivers/net/ethernet/sfc/efx.c @@ -113,7 +113,6 @@ MODULE_PARM_DESC(debug, "Bitmapped debugging message enable value"); * *************************************************************************/ -static const struct efx_channel_type efx_default_channel_type; static void efx_remove_port(struct efx_nic *efx); static int efx_xdp_setup_prog(struct efx_nic *efx, struct bpf_prog *prog); static int efx_xdp(struct net_device *dev, struct netdev_bpf *xdp); |