diff options
author | stephen hemminger <stephen@networkplumber.org> | 2014-01-15 08:24:21 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-01-16 16:22:53 -0800 |
commit | 2fd888a5e7b8fc1f1d496fa5379103d667852859 (patch) | |
tree | 73e2f8bf5da733253f5886cc8ae2d8b2e67f4afc /drivers/net/ethernet/brocade/bna/bnad.c | |
parent | 5b22721d1fb03f2c43b79adc35bd6646405a34da (diff) |
bnad: code cleanup
Use 'make namespacecheck' to code that could be declared static.
After that remove code that is not being used.
Compile tested only.
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/brocade/bna/bnad.c')
-rw-r--r-- | drivers/net/ethernet/brocade/bna/bnad.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/brocade/bna/bnad.c b/drivers/net/ethernet/brocade/bna/bnad.c index 5f24a9ffcfaa..cf64f3d0b60d 100644 --- a/drivers/net/ethernet/brocade/bna/bnad.c +++ b/drivers/net/ethernet/brocade/bna/bnad.c @@ -2108,7 +2108,7 @@ bnad_rx_ctrl_init(struct bnad *bnad, u32 rx_id) } /* Called with mutex_lock(&bnad->conf_mutex) held */ -u32 +static u32 bnad_reinit_rx(struct bnad *bnad) { struct net_device *netdev = bnad->netdev; |