[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20200424131256.10400-1-yuehaibing@huawei.com>
Date: Fri, 24 Apr 2020 21:12:56 +0800
From: YueHaibing <yuehaibing@...wei.com>
To: <shshaikh@...vell.com>, <manishc@...vell.com>,
<GR-Linux-NIC-Dev@...vell.com>, <davem@...emloft.net>,
<gustavo@...eddedor.com>
CC: <netdev@...r.kernel.org>, <linux-kernel@...r.kernel.org>,
YueHaibing <yuehaibing@...wei.com>
Subject: [PATCH net-next] qlcnic: remove unused inline function qlcnic_hw_write_wx_2M
There's no callers in-tree anymore.
Signed-off-by: YueHaibing <yuehaibing@...wei.com>
---
drivers/net/ethernet/qlogic/qlcnic/qlcnic.h | 6 ------
1 file changed, 6 deletions(-)
diff --git a/drivers/net/ethernet/qlogic/qlcnic/qlcnic.h b/drivers/net/ethernet/qlogic/qlcnic/qlcnic.h
index 134611aa2c9a..d838774af5a6 100644
--- a/drivers/net/ethernet/qlogic/qlcnic/qlcnic.h
+++ b/drivers/net/ethernet/qlogic/qlcnic/qlcnic.h
@@ -1880,12 +1880,6 @@ static inline void qlcnic_write_crb(struct qlcnic_adapter *adapter, char *buf,
adapter->ahw->hw_ops->write_crb(adapter, buf, offset, size);
}
-static inline int qlcnic_hw_write_wx_2M(struct qlcnic_adapter *adapter,
- ulong off, u32 data)
-{
- return adapter->ahw->hw_ops->write_reg(adapter, off, data);
-}
-
static inline int qlcnic_get_mac_address(struct qlcnic_adapter *adapter,
u8 *mac, u8 function)
{
--
2.17.1
Powered by blists - more mailing lists