提交 7a4d40dd 编写于 作者: Y YueHaibing 提交者: David S. Miller

net: sun: cassini: Remove unused inline functions

There's no callers in-tree anymore.
Signed-off-by: NYueHaibing <yuehaibing@huawei.com>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 e94caac1
...@@ -237,12 +237,6 @@ static inline void cas_lock_tx(struct cas *cp) ...@@ -237,12 +237,6 @@ static inline void cas_lock_tx(struct cas *cp)
spin_lock_nested(&cp->tx_lock[i], i); 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 /* WTZ: QA was finding deadlock problems with the previous
* versions after long test runs with multiple cards per machine. * versions after long test runs with multiple cards per machine.
* See if replacing cas_lock_all with safer versions helps. The * See if replacing cas_lock_all with safer versions helps. The
...@@ -266,12 +260,6 @@ static inline void cas_unlock_tx(struct cas *cp) ...@@ -266,12 +260,6 @@ static inline void cas_unlock_tx(struct cas *cp)
spin_unlock(&cp->tx_lock[i - 1]); 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) \ #define cas_unlock_all_restore(cp, flags) \
do { \ do { \
struct cas *xxxcp = (cp); \ struct cas *xxxcp = (cp); \
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册