aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/brocade
diff options
context:
space:
mode:
authorJingoo Han <jg1.han@samsung.com>2013-08-05 05:00:04 -0400
committerDavid S. Miller <davem@davemloft.net>2013-08-05 14:05:23 -0400
commit7f4341fef3f2daa073fab5727d142a68b0edd37e (patch)
treed2ebedba902cde39c627b4427d07f2274c7478d4 /drivers/net/ethernet/brocade
parent5ca5461c3ee8b306c04ac833e5eacb5755b85d88 (diff)
bna: Staticize local functions
bna_rx_sm_stop_wait_entry(), bna_rx_sm_rxf_stop_wait_entry(), bna_rx_sm_started_entry(), bna_rx_sm_cleanup_wait_entry(), and bna_rx_sm_cleanup_wait() are used only in this file. Fix the following sparse warnings: drivers/net/ethernet/brocade/bna/bna_tx_rx.c:1423:1: warning: symbol 'bna_rx_sm_stop_wait_entry' was not declared. Should it be static? drivers/net/ethernet/brocade/bna/bna_tx_rx.c:1476:1: warning: symbol 'bna_rx_sm_rxf_stop_wait_entry' was not declared. Should it be static? drivers/net/ethernet/brocade/bna/bna_tx_rx.c:1532:1: warning: symbol 'bna_rx_sm_started_entry' was not declared. Should it be static? drivers/net/ethernet/brocade/bna/bna_tx_rx.c:1597:1: warning: symbol 'bna_rx_sm_cleanup_wait_entry' was not declared. Should it be static? drivers/net/ethernet/brocade/bna/bna_tx_rx.c:1602:1: warning: symbol 'bna_rx_sm_cleanup_wait' was not declared. Should it be static? Signed-off-by: Jingoo Han <jg1.han@samsung.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/brocade')
-rw-r--r--drivers/net/ethernet/brocade/bna/bna_tx_rx.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/net/ethernet/brocade/bna/bna_tx_rx.c b/drivers/net/ethernet/brocade/bna/bna_tx_rx.c
index 57cd1bff59f1..3c07064b2bc4 100644
--- a/drivers/net/ethernet/brocade/bna/bna_tx_rx.c
+++ b/drivers/net/ethernet/brocade/bna/bna_tx_rx.c
@@ -1419,7 +1419,7 @@ static void bna_rx_sm_start_wait_entry(struct bna_rx *rx)
1419 bna_bfi_rx_enet_start(rx); 1419 bna_bfi_rx_enet_start(rx);
1420} 1420}
1421 1421
1422void 1422static void
1423bna_rx_sm_stop_wait_entry(struct bna_rx *rx) 1423bna_rx_sm_stop_wait_entry(struct bna_rx *rx)
1424{ 1424{
1425} 1425}
@@ -1472,7 +1472,7 @@ static void bna_rx_sm_rxf_start_wait_entry(struct bna_rx *rx)
1472 bna_rxf_start(&rx->rxf); 1472 bna_rxf_start(&rx->rxf);
1473} 1473}
1474 1474
1475void 1475static void
1476bna_rx_sm_rxf_stop_wait_entry(struct bna_rx *rx) 1476bna_rx_sm_rxf_stop_wait_entry(struct bna_rx *rx)
1477{ 1477{
1478} 1478}
@@ -1528,7 +1528,7 @@ bna_rx_sm_start_stop_wait(struct bna_rx *rx, enum bna_rx_event event)
1528 } 1528 }
1529} 1529}
1530 1530
1531void 1531static void
1532bna_rx_sm_started_entry(struct bna_rx *rx) 1532bna_rx_sm_started_entry(struct bna_rx *rx)
1533{ 1533{
1534 struct bna_rxp *rxp; 1534 struct bna_rxp *rxp;
@@ -1593,12 +1593,12 @@ static void bna_rx_sm_rxf_start_wait(struct bna_rx *rx,
1593 } 1593 }
1594} 1594}
1595 1595
1596void 1596static void
1597bna_rx_sm_cleanup_wait_entry(struct bna_rx *rx) 1597bna_rx_sm_cleanup_wait_entry(struct bna_rx *rx)
1598{ 1598{
1599} 1599}
1600 1600
1601void 1601static void
1602bna_rx_sm_cleanup_wait(struct bna_rx *rx, enum bna_rx_event event) 1602bna_rx_sm_cleanup_wait(struct bna_rx *rx, enum bna_rx_event event)
1603{ 1603{
1604 switch (event) { 1604 switch (event) {