]> err.no Git - linux-2.6/commitdiff
drivers/net/qla3xxx.c: make 2 functions static
authorAdrian Bunk <bunk@stusta.de>
Mon, 5 Mar 2007 01:49:27 +0000 (02:49 +0100)
committerJeff Garzik <jeff@garzik.org>
Sat, 28 Apr 2007 15:00:56 +0000 (11:00 -0400)
This patch makes two needlessly global functions static.

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/net/qla3xxx.c

index 7b80fb7a9d9babb7af240859c3f3d24cafcc9958..04ea44a9e0f676e25f6371aae40e699e9c4c7d33 100755 (executable)
@@ -1815,14 +1815,14 @@ invalid_seg_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)
                qdev->small_buf_index = 0;
        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;
        lrg_buf_cb = &qdev->lrg_buf[qdev->lrg_buf_index];