sfc: cleanups around efx_alloc_channel
authorEdward Cree <ecree@solarflare.com>
Fri, 11 Sep 2020 18:45:14 +0000 (19:45 +0100)
committerDavid S. Miller <davem@davemloft.net>
Fri, 11 Sep 2020 21:55:14 +0000 (14:55 -0700)
commit4da24fa64ddbce65de1403efb0af0332c14df67a
tree061600fe62913933ce1206b4920d6a239b427a7a
parent3d6aef65dfaa0e9d6632fb15aebc01aae163c392
sfc: cleanups around efx_alloc_channel

The old_channel argument is never used, so remove it.
The function is only called from elsewhere in efx_channels.c, so make
 it static and remove the declaration from the header file.

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