mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-08-05 16:54:27 +00:00
![]() '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:
|
||
---|---|---|
.. | ||
falcon | ||
bitfield.h | ||
ef10.c | ||
ef10_regs.h | ||
ef10_sriov.c | ||
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 | ||
mcdi.h | ||
mcdi_filters.c | ||
mcdi_filters.h | ||
mcdi_functions.c | ||
mcdi_functions.h | ||
mcdi_mon.c | ||
mcdi_pcol.h | ||
mcdi_port.c | ||
mcdi_port_common.c | ||
mcdi_port_common.h | ||
mtd.c | ||
net_driver.h | ||
nic.c | ||
nic.h | ||
ptp.c | ||
rx.c | ||
rx_common.c | ||
rx_common.h | ||
selftest.c | ||
selftest.h | ||
siena.c | ||
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 |