diff options
author | Rasesh Mody <rmody@brocade.com> | 2010-12-23 16:45:07 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-12-25 22:16:02 -0500 |
commit | ce9b9f383775e6de74ca4c93d5c643dc3d76dd3c (patch) | |
tree | 41520eda23c757cf505acbea958797905d3124ef /drivers/net/bna/bna_txrx.c | |
parent | 2c7d38210ff8e65f8961699bce92c273c77d113c (diff) |
bna: Removed unused code
Change Details:
- Remove unused APIs and code cleanup
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/bna_txrx.c')
-rw-r--r-- | drivers/net/bna/bna_txrx.c | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/drivers/net/bna/bna_txrx.c b/drivers/net/bna/bna_txrx.c index 50766181d585..58c7664040dc 100644 --- a/drivers/net/bna/bna_txrx.c +++ b/drivers/net/bna/bna_txrx.c | |||
@@ -1226,8 +1226,7 @@ rxf_process_packet_filter_vlan(struct bna_rxf *rxf) | |||
1226 | /* Apply the VLAN filter */ | 1226 | /* Apply the VLAN filter */ |
1227 | if (rxf->rxf_flags & BNA_RXF_FL_VLAN_CONFIG_PENDING) { | 1227 | if (rxf->rxf_flags & BNA_RXF_FL_VLAN_CONFIG_PENDING) { |
1228 | rxf->rxf_flags &= ~BNA_RXF_FL_VLAN_CONFIG_PENDING; | 1228 | rxf->rxf_flags &= ~BNA_RXF_FL_VLAN_CONFIG_PENDING; |
1229 | if (!(rxf->rxmode_active & BNA_RXMODE_PROMISC) && | 1229 | if (!(rxf->rxmode_active & BNA_RXMODE_PROMISC)) |
1230 | !(rxf->rxmode_active & BNA_RXMODE_DEFAULT)) | ||
1231 | __rxf_vlan_filter_set(rxf, rxf->vlan_filter_status); | 1230 | __rxf_vlan_filter_set(rxf, rxf->vlan_filter_status); |
1232 | } | 1231 | } |
1233 | 1232 | ||
@@ -1276,9 +1275,6 @@ rxf_process_packet_filter(struct bna_rxf *rxf) | |||
1276 | if (rxf_process_packet_filter_promisc(rxf)) | 1275 | if (rxf_process_packet_filter_promisc(rxf)) |
1277 | return 1; | 1276 | return 1; |
1278 | 1277 | ||
1279 | if (rxf_process_packet_filter_default(rxf)) | ||
1280 | return 1; | ||
1281 | |||
1282 | if (rxf_process_packet_filter_allmulti(rxf)) | 1278 | if (rxf_process_packet_filter_allmulti(rxf)) |
1283 | return 1; | 1279 | return 1; |
1284 | 1280 | ||
@@ -1340,9 +1336,6 @@ rxf_clear_packet_filter(struct bna_rxf *rxf) | |||
1340 | if (rxf_clear_packet_filter_promisc(rxf)) | 1336 | if (rxf_clear_packet_filter_promisc(rxf)) |
1341 | return 1; | 1337 | return 1; |
1342 | 1338 | ||
1343 | if (rxf_clear_packet_filter_default(rxf)) | ||
1344 | return 1; | ||
1345 | |||
1346 | if (rxf_clear_packet_filter_allmulti(rxf)) | 1339 | if (rxf_clear_packet_filter_allmulti(rxf)) |
1347 | return 1; | 1340 | return 1; |
1348 | 1341 | ||
@@ -1389,8 +1382,6 @@ rxf_reset_packet_filter(struct bna_rxf *rxf) | |||
1389 | 1382 | ||
1390 | rxf_reset_packet_filter_promisc(rxf); | 1383 | rxf_reset_packet_filter_promisc(rxf); |
1391 | 1384 | ||
1392 | rxf_reset_packet_filter_default(rxf); | ||
1393 | |||
1394 | rxf_reset_packet_filter_allmulti(rxf); | 1385 | rxf_reset_packet_filter_allmulti(rxf); |
1395 | } | 1386 | } |
1396 | 1387 | ||