]> git.baikalelectronics.ru Git - kernel.git/commit
bna: remove paused from bna_rx_config and flags from bna_rxf
authorIvan Vecera <ivecera@redhat.com>
Thu, 11 Jun 2015 13:52:23 +0000 (15:52 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 11 Jun 2015 22:57:16 +0000 (15:57 -0700)
commitc8d922453e88c334dd9cb6410a1aaaef985d3e3f
tree365a950fa10394976635d56292861cf28d96d2b4
parent0e6559cce5b0f1112c445ab9d8a083d6313e3178
bna: remove paused from bna_rx_config and flags from bna_rxf

The bna_rx_config struct member paused can be removed as it is never
written and as it cannot have non-zero value the bna_rxf struct member
flags also cannot have BNA_RXF_F_PAUSED value and is always zero.
So the flags member can be removed as well as bna_rxf_flags enum and
the code-paths that needs to have non-zero bna_rxf->flags.
This clean-up makes bna_rxf_sm_paused state unsed and can be also removed.

Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/brocade/bna/bna_tx_rx.c
drivers/net/ethernet/brocade/bna/bna_types.h