]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitfffe69e14e1b6ba4e560ebdccbe73a6beecc25cd
tree061600fe62913933ce1206b4920d6a239b427a7a
parentce5806f894340149bfa7f7a88a819a966d2a9663
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