projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
308de89
)
qlcnic: remove unused inline function qlcnic_hw_write_wx_2M
author
YueHaibing
<yuehaibing@huawei.com>
Fri, 24 Apr 2020 13:12:56 +0000
(21:12 +0800)
committer
David S. Miller
<davem@davemloft.net>
Sun, 26 Apr 2020 03:42:57 +0000
(20:42 -0700)
There's no callers in-tree anymore.
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/qlogic/qlcnic/qlcnic.h
patch
|
blob
|
history
diff --git
a/drivers/net/ethernet/qlogic/qlcnic/qlcnic.h
b/drivers/net/ethernet/qlogic/qlcnic/qlcnic.h
index
134611a
..
d838774
100644
(file)
--- 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)
{