bnx2x: Reduce the likelihood of smb_mb
commit6044735d8ddd96bf23cf975bae8729c65479aa14
authorEilon Greenstein <eilong@broadcom.com>
Mon, 2 Mar 2009 07:59:24 +0000 (2 07:59 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 3 Mar 2009 06:32:38 +0000 (2 22:32 -0800)
tree36fe481362fe7b5ee26edb55c2dcc52d96cc24ca
parent0d1a8d2d7dd9f6588ed9544a9aa88fd9bd9467d3
bnx2x: Reduce the likelihood of smb_mb

As the comment explains, this smb_mb is needed only if the queue is stopped
(which is unlikely) so the barrier can be moved to that location

Signed-off-by: Eilon Greenstein <eilong@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/bnx2x_main.c