diff options
author | kbuild test robot <fengguang.wu@intel.com> | 2018-01-26 20:00:39 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-01-29 05:59:18 +0300 |
commit | e7345ba352d15c88cf9d8698a6f5bff9c25670eb (patch) | |
tree | d41ed5c6f706437726c2f69c04bb74acb1e85f76 /drivers/net/ethernet/sfc/efx.c | |
parent | 5abe9ead9a8f3217f1479961e778bec60d542c62 (diff) | |
download | linux-e7345ba352d15c88cf9d8698a6f5bff9c25670eb.tar.xz |
sfc: mark some unexported symbols as static
efx_default_channel_want_txqs() is only used in efx.c, while
efx_ptp_want_txqs() and efx_ptp_channel_type (a struct) are only used
in ptp.c. In all cases these symbols should be static.
Fixes: 2935e3c38228 ("sfc: on 8000 series use TX queues for TX timestamps")
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
[ecree@solarflare.com: rewrote commit message]
Signed-off-by: Edward Cree <ecree@solarflare.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/sfc/efx.c')
-rw-r--r-- | drivers/net/ethernet/sfc/efx.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/sfc/efx.c b/drivers/net/ethernet/sfc/efx.c index 456866b05641..16757cfc5b29 100644 --- a/drivers/net/ethernet/sfc/efx.c +++ b/drivers/net/ethernet/sfc/efx.c @@ -896,7 +896,7 @@ void efx_schedule_slow_fill(struct efx_rx_queue *rx_queue) mod_timer(&rx_queue->slow_fill, jiffies + msecs_to_jiffies(100)); } -bool efx_default_channel_want_txqs(struct efx_channel *channel) +static bool efx_default_channel_want_txqs(struct efx_channel *channel) { return channel->channel - channel->efx->tx_channel_offset < channel->efx->n_tx_channels; |