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.c sfc: avoid an unused-variable warning 2020-05-28 12:49:06 -07:00
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
efx.c
efx.h
efx_channels.c
efx_channels.h
efx_common.c
efx_common.h
enum.h
ethtool.c
ethtool_common.c
ethtool_common.h
farch.c
farch_regs.h
filter.h
io.h
Kconfig
Makefile
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
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
mcdi_mon.c
mcdi_pcol.h
mcdi_port.c sfc: move vport_id to struct efx_nic 2020-05-11 13:31:49 -07:00
mcdi_port_common.c
mcdi_port_common.h
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.c sfc: Add XDP frame size 2020-05-14 21:21:54 -07:00
rx_common.c
rx_common.h
selftest.c
selftest.h
siena.c sfc: siena_check_caps() can be static 2020-05-12 12:47:40 -07:00
siena_sriov.c
siena_sriov.h
sriov.c
sriov.h
tx.c
tx.h
tx_common.c
tx_common.h
tx_tso.c
vfdi.h
workarounds.h