bna: Code Cleanup and Enhancements
authorRasesh Mody <rmody@brocade.com>
Tue, 11 Dec 2012 12:24:50 +0000 (12:24 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 11 Dec 2012 23:25:46 +0000 (18:25 -0500)
commit5e46631fdb1e5611969c1e61106a59a3b38af078
tree1a9b2916295f0689039378729d8b1df289c5162e
parentf9c4d420c12de65e58a1a14ccee03e8b5cf99f5b
bna: Code Cleanup and Enhancements

Change details:
 -      Remove unnecessary prefetch
 -      Simplify checking & comparison of CQ flags
 -      Dereference & store unmap_array, unmap_cons & current unmap_array
        element only once
 -      Make structures tx_config & rx_config cache line aligned.

Signed-off-by: Rasesh Mody <rmody@brocade.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/brocade/bna/bnad.c
drivers/net/ethernet/brocade/bna/bnad.h