diff options
author | 2020-08-28 18:51:04 +0100 | |
---|---|---|
committer | 2020-08-31 12:28:50 -0700 | |
commit | f2ed621fad08773a825994e479a5743b89c0530d (patch) | |
tree | a8526e2041e98392cba4ff5fea815c4e545c6847 /net/tls/tls_main.c | |
parent | sfc: fix kernel-doc on struct efx_loopback_state (diff) | |
download | linux-rng-f2ed621fad08773a825994e479a5743b89c0530d.tar.xz linux-rng-f2ed621fad08773a825994e479a5743b89c0530d.zip |
sfc: return errors from efx_mcdi_set_id_led, and de-indirect
W=1 warnings indicated that 'rc' was unused in efx_mcdi_set_id_led();
change the function to return int instead of void and plumb the rc
through the caller efx_ethtool_phys_id().
Since (post-Falcon) all sfc NICs use MCDI for this, there's no point in
indirecting through a nic_type method, so remove that and just call
efx_mcdi_set_id_led() directly.
Signed-off-by: Edward Cree <ecree@solarflare.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/tls/tls_main.c')
0 files changed, 0 insertions, 0 deletions