Subject: [RFC PATCH] sfc_ef100: ef100_hard_start_xmit() can be static

From: kernel test robot <[email-masked]>
Date: Sat, 4 Jul 2020 01:46:55 +0800

Signed-off-by: kernel test robot <[email-masked]>
---
 ef100_netdev.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/net/ethernet/sfc/ef100_netdev.c b/drivers/net/ethernet/sfc/ef100_netdev.c
index 356938104cb27..8e23ffed3f0ec 100644
--- a/drivers/net/ethernet/sfc/ef100_netdev.c
+++ b/drivers/net/ethernet/sfc/ef100_netdev.c
@@ -42,8 +42,8 @@ static void ef100_update_name(struct efx_nic *efx)
  * Note that returning anything other than NETDEV_TX_OK will cause the
  * OS to free the skb.
  */
-netdev_tx_t ef100_hard_start_xmit(struct sk_buff *skb,
-				  struct net_device *net_dev)
+static netdev_tx_t ef100_hard_start_xmit(struct sk_buff *skb,
+					 struct net_device *net_dev)
 {
 	struct efx_nic *efx = netdev_priv(net_dev);
 	struct efx_tx_queue *tx_queue;