bnx2x: unlock before returning an error
authorDan Carpenter <dan.carpenter@oracle.com>
Tue, 24 Jan 2012 21:59:31 +0000 (21:59 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 25 Jan 2012 21:58:26 +0000 (16:58 -0500)
commita44acd551467d78a26bfa76ea348225575830efc
tree66ab6bcbbe391ac502652ffeb2682f283be0c849
parent8bca5d1ebb8bf18187256845ba3aaff5fbc01934
bnx2x: unlock before returning an error

We introduced a new return here but forgot to drop the lock.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Acked-by: Dmitry Kravkov <dmitry@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.c