diff options
author | Rasesh Mody <rmody@brocade.com> | 2010-10-05 17:46:05 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-10-06 05:39:39 +0200 |
commit | b7ee31c5af7f04b67d8b8e4f3b2bcb8bcfced8a3 (patch) | |
tree | a50e868a3a0d6dcc9c86ca488db91f77eaa3ab56 /drivers/net/bna/bfa_sm.h | |
parent | bna: fix interrupt handling (diff) | |
download | linux-b7ee31c5af7f04b67d8b8e4f3b2bcb8bcfced8a3.tar.xz linux-b7ee31c5af7f04b67d8b8e4f3b2bcb8bcfced8a3.zip |
bna: scope and dead code cleanup
As suggested by Stephen Hemminger:
1) Made functions and data structures static wherever possible.
2) Removed unused code.
Signed-off-by: Debashis Dutt <ddutt@brocade.com>
Signed-off-by: Rasesh Mody <rmody@brocade.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/bna/bfa_sm.h')
-rw-r--r-- | drivers/net/bna/bfa_sm.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/bna/bfa_sm.h b/drivers/net/bna/bfa_sm.h index 1d3d975d6f68..46462c49b6f9 100644 --- a/drivers/net/bna/bfa_sm.h +++ b/drivers/net/bna/bfa_sm.h @@ -77,7 +77,7 @@ typedef void (*bfa_fsm_t)(void *fsm, int event); ((_fsm)->fsm == (bfa_fsm_t)(_state)) static inline int -bfa_sm_to_state(struct bfa_sm_table *smt, bfa_sm_t sm) +bfa_sm_to_state(const struct bfa_sm_table *smt, bfa_sm_t sm) { int i = 0; |