diff options
Diffstat (limited to 'drivers/net/qla3xxx.c')
-rwxr-xr-x | drivers/net/qla3xxx.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/qla3xxx.c b/drivers/net/qla3xxx.c index 7b80fb7a9d9b..04ea44a9e0f6 100755 --- a/drivers/net/qla3xxx.c +++ b/drivers/net/qla3xxx.c | |||
@@ -1815,14 +1815,14 @@ invalid_seg_count: | |||
1815 | atomic_inc(&qdev->tx_count); | 1815 | atomic_inc(&qdev->tx_count); |
1816 | } | 1816 | } |
1817 | 1817 | ||
1818 | void ql_get_sbuf(struct ql3_adapter *qdev) | 1818 | static void ql_get_sbuf(struct ql3_adapter *qdev) |
1819 | { | 1819 | { |
1820 | if (++qdev->small_buf_index == NUM_SMALL_BUFFERS) | 1820 | if (++qdev->small_buf_index == NUM_SMALL_BUFFERS) |
1821 | qdev->small_buf_index = 0; | 1821 | qdev->small_buf_index = 0; |
1822 | qdev->small_buf_release_cnt++; | 1822 | qdev->small_buf_release_cnt++; |
1823 | } | 1823 | } |
1824 | 1824 | ||
1825 | struct ql_rcv_buf_cb *ql_get_lbuf(struct ql3_adapter *qdev) | 1825 | static struct ql_rcv_buf_cb *ql_get_lbuf(struct ql3_adapter *qdev) |
1826 | { | 1826 | { |
1827 | struct ql_rcv_buf_cb *lrg_buf_cb = NULL; | 1827 | struct ql_rcv_buf_cb *lrg_buf_cb = NULL; |
1828 | lrg_buf_cb = &qdev->lrg_buf[qdev->lrg_buf_index]; | 1828 | lrg_buf_cb = &qdev->lrg_buf[qdev->lrg_buf_index]; |