sfc: fix unused-but-set-variable warning in efx_farch_filter_remove_safe
authorEdward Cree <ecree@solarflare.com>
Fri, 28 Aug 2020 17:50:24 +0000 (18:50 +0100)
committerDavid S. Miller <davem@davemloft.net>
Mon, 31 Aug 2020 19:28:50 +0000 (12:28 -0700)
commitb6d96931cade2f3f9b12aec2b5493f099905b116
tree11a5371cb5f351a56a621e0114b322f5799129aa
parent35ff765f8d508e56d09ef470395324298550c415
sfc: fix unused-but-set-variable warning in efx_farch_filter_remove_safe

Thanks to some past refactor, 'spec' is not actually used in this
 function; the code using it moved to the callee efx_farch_filter_remove.
Remove the variable to fix a W=1 warning.

Signed-off-by: Edward Cree <ecree@solarflare.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/sfc/farch.c