[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20200703174655.GA64951@bc3541c4c19f>
Date: Sat, 4 Jul 2020 01:46:55 +0800
From: kernel test robot <lkp@...el.com>
To: Edward Cree <ecree@...arflare.com>,
linux-net-drivers@...arflare.com, davem@...emloft.net
Cc: kbuild-all@...ts.01.org, netdev@...r.kernel.org
Subject: [RFC PATCH] sfc_ef100: ef100_hard_start_xmit() can be static
Signed-off-by: kernel test robot <lkp@...el.com>
---
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;
Powered by blists - more mailing lists