linux/drivers/net/ethernet/sfc
Arnd Bergmann b113cabd43 sfc: avoid an unused-variable warning
'nic_data' is no longer used outside of the #ifdef block
in efx_ef10_set_mac_address:

drivers/net/ethernet/sfc/ef10.c:3231:28: error: unused variable 'nic_data' [-Werror,-Wunused-variable]
        struct efx_ef10_nic_data *nic_data = efx->nic_data;

Move the variable into a local scope.

Fixes: dfcabb0788 ("sfc: move vport_id to struct efx_nic")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
2020-05-28 12:49:06 -07:00
..
falcon sfc: falcon: convert to use i2c_new_client_device() 2020-03-26 19:31:21 -07:00
bitfield.h
ef10_regs.h
ef10_sriov.c sfc: move vport_id to struct efx_nic 2020-05-11 13:31:49 -07:00
ef10_sriov.h
ef10.c sfc: avoid an unused-variable warning 2020-05-28 12:49:06 -07:00
efx_channels.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2020-03-12 22:34:48 -07:00
efx_channels.h sfc: add new headers in preparation for code split 2020-01-08 13:28:02 -08:00
efx_common.c sfc: fix XDP-redirect in this driver 2020-03-16 18:22:43 -07:00
efx_common.h sfc: move yet more functions 2020-01-10 11:24:37 -08:00
efx.c sfc: remove unused variable 'efx_default_channel_type' 2020-02-19 16:26:02 -08:00
efx.h Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2020-03-12 22:34:48 -07:00
enum.h
ethtool_common.c sfc/ethtool_common: Make some function to static 2020-01-13 06:00:43 -08:00
ethtool_common.h sfc: move some ethtool code 2020-01-10 11:24:37 -08:00
ethtool.c net: sfc: reject unsupported coalescing params 2020-03-17 20:56:57 -07:00
farch_regs.h
farch.c sfc: add new headers in preparation for code split 2020-01-08 13:28:02 -08:00
filter.h
io.h
Kconfig sfc: Remove unnecessary dependencies on I2C 2020-01-02 16:23:18 -08:00
Makefile sfc: move mcdi filtering code 2020-01-27 13:05:43 +01:00
mcdi_filters.c sfc: fix dereference of table before it is null checked 2020-05-13 15:20:00 -07:00
mcdi_filters.h sfc: move rx_rss_context_exclusive into struct efx_mcdi_filter_table 2020-05-11 13:31:49 -07:00
mcdi_functions.c sfc: move vport_id to struct efx_nic 2020-05-11 13:31:49 -07:00
mcdi_functions.h sfc: move yet more functions 2020-01-10 11:24:37 -08:00
mcdi_mon.c
mcdi_pcol.h
mcdi_port_common.c sfc: move a couple more functions 2020-01-10 11:24:37 -08:00
mcdi_port_common.h sfc: move a couple more functions 2020-01-10 11:24:37 -08:00
mcdi_port.c sfc: move vport_id to struct efx_nic 2020-05-11 13:31:49 -07:00
mcdi.c sfc: make firmware-variant printing a nic_type function 2020-05-11 13:31:49 -07:00
mcdi.h sfc: make capability checking a nic_type function 2020-05-11 13:31:49 -07:00
mtd.c
net_driver.h sfc: make firmware-variant printing a nic_type function 2020-05-11 13:31:49 -07:00
nic.c
nic.h sfc: move rx_rss_context_exclusive into struct efx_mcdi_filter_table 2020-05-11 13:31:49 -07:00
ptp.c sfc: use efx_has_cap for capability checks outside of NIC-specific code 2020-05-11 13:31:49 -07:00
rx_common.c sfc: fix XDP-redirect in this driver 2020-03-16 18:22:43 -07:00
rx_common.h sfc: move RPS code 2020-01-10 11:24:37 -08:00
rx.c sfc: Add XDP frame size 2020-05-14 21:21:54 -07:00
selftest.c sfc: refactor selftest work init code 2020-01-10 11:24:37 -08:00
selftest.h sfc: refactor selftest work init code 2020-01-10 11:24:37 -08:00
siena_sriov.c sfc: move channel alloc/removal code 2020-01-08 13:28:03 -08:00
siena_sriov.h
siena.c sfc: siena_check_caps() can be static 2020-05-12 12:47:40 -07:00
sriov.c
sriov.h
tx_common.c sfc: complete the next packet when we receive a timestamp 2020-03-05 14:56:57 -08:00
tx_common.h sfc: complete the next packet when we receive a timestamp 2020-03-05 14:56:57 -08:00
tx_tso.c
tx.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2020-03-12 22:34:48 -07:00
tx.h
vfdi.h
workarounds.h