diff options
author | Adrian Bunk <bunk@stusta.de> | 2007-03-05 02:49:27 +0100 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2007-04-28 17:00:56 +0200 |
commit | 3664006ab9d90caca5c195e11a2b2e400d454265 (patch) | |
tree | 1e5629493024fafe589313e2937f6d3d5c80c8cd /drivers/net/qla3xxx.c | |
parent | make drivers/net/s2io.c:vlan_strip_flag static (diff) | |
download | linux-3664006ab9d90caca5c195e11a2b2e400d454265.tar.xz linux-3664006ab9d90caca5c195e11a2b2e400d454265.zip |
drivers/net/qla3xxx.c: make 2 functions static
This patch makes two needlessly global functions static.
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
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: 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]; |