Files
android_kernel_xiaomi_sm8450/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
..
2020-05-28 12:49:06 -07:00
2020-01-10 11:24:37 -08:00
2020-01-10 11:24:37 -08:00
2020-01-27 13:05:43 +01:00
2020-01-10 11:24:37 -08:00
2020-01-10 11:24:37 -08:00
2020-05-14 21:21:54 -07:00
2020-05-12 12:47:40 -07:00