diff options
author | YueHaibing <yuehaibing@huawei.com> | 2020-05-05 11:33:12 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-05-05 22:07:43 +0300 |
commit | 7a4d40ddf1fa2d78e0a144a6bde9bf783682fba7 (patch) | |
tree | fff677e1818690c7a986f093cd9e5cef768945ea /drivers/net/ethernet/sun | |
parent | e94caac1bc0b628b14dd6d81a94315cd880d6150 (diff) | |
download | linux-7a4d40ddf1fa2d78e0a144a6bde9bf783682fba7.tar.xz |
net: sun: cassini: Remove unused inline functions
There's no callers in-tree anymore.
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/sun')
-rw-r--r-- | drivers/net/ethernet/sun/cassini.c | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/drivers/net/ethernet/sun/cassini.c b/drivers/net/ethernet/sun/cassini.c index 3ee6ab104cb9..e6e25960da4f 100644 --- a/drivers/net/ethernet/sun/cassini.c +++ b/drivers/net/ethernet/sun/cassini.c @@ -237,12 +237,6 @@ static inline void cas_lock_tx(struct cas *cp) spin_lock_nested(&cp->tx_lock[i], i); } -static inline void cas_lock_all(struct cas *cp) -{ - spin_lock_irq(&cp->lock); - cas_lock_tx(cp); -} - /* WTZ: QA was finding deadlock problems with the previous * versions after long test runs with multiple cards per machine. * See if replacing cas_lock_all with safer versions helps. The @@ -266,12 +260,6 @@ static inline void cas_unlock_tx(struct cas *cp) spin_unlock(&cp->tx_lock[i - 1]); } -static inline void cas_unlock_all(struct cas *cp) -{ - cas_unlock_tx(cp); - spin_unlock_irq(&cp->lock); -} - #define cas_unlock_all_restore(cp, flags) \ do { \ struct cas *xxxcp = (cp); \ |