提交 3664006a 编写于 作者: A Adrian Bunk 提交者: Jeff Garzik

drivers/net/qla3xxx.c: make 2 functions static

This patch makes two needlessly global functions static.
Signed-off-by: NAdrian Bunk <bunk@stusta.de>
Signed-off-by: NJeff Garzik <jeff@garzik.org>
上级 7b490343
...@@ -1815,14 +1815,14 @@ static void ql_process_mac_tx_intr(struct ql3_adapter *qdev, ...@@ -1815,14 +1815,14 @@ static void ql_process_mac_tx_intr(struct ql3_adapter *qdev,
atomic_inc(&qdev->tx_count); atomic_inc(&qdev->tx_count);
} }
void ql_get_sbuf(struct ql3_adapter *qdev) static void ql_get_sbuf(struct ql3_adapter *qdev)
{ {
if (++qdev->small_buf_index == NUM_SMALL_BUFFERS) if (++qdev->small_buf_index == NUM_SMALL_BUFFERS)
qdev->small_buf_index = 0; qdev->small_buf_index = 0;
qdev->small_buf_release_cnt++; qdev->small_buf_release_cnt++;
} }
struct ql_rcv_buf_cb *ql_get_lbuf(struct ql3_adapter *qdev) static struct ql_rcv_buf_cb *ql_get_lbuf(struct ql3_adapter *qdev)
{ {
struct ql_rcv_buf_cb *lrg_buf_cb = NULL; struct ql_rcv_buf_cb *lrg_buf_cb = NULL;
lrg_buf_cb = &qdev->lrg_buf[qdev->lrg_buf_index]; lrg_buf_cb = &qdev->lrg_buf[qdev->lrg_buf_index];
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册