From: Ron Mercer Date: Tue, 9 Jun 2009 06:35:12 +0000 (+0000) Subject: qlge: bugfix: Get rid of errant spin_unlock(). X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=1abb0de2f89c1f9c454c973356b9e4867722f10a;p=openwrt%2Fstaging%2Fblogic.git qlge: bugfix: Get rid of errant spin_unlock(). Signed-off-by: Ron Mercer Signed-off-by: David S. Miller --- diff --git a/drivers/net/qlge/qlge_main.c b/drivers/net/qlge/qlge_main.c index 5055f5b37a73..024c7343ada0 100644 --- a/drivers/net/qlge/qlge_main.c +++ b/drivers/net/qlge/qlge_main.c @@ -3299,7 +3299,6 @@ static int ql_adapter_up(struct ql_adapter *qdev) err = ql_adapter_initialize(qdev); if (err) { QPRINTK(qdev, IFUP, INFO, "Unable to initialize adapter.\n"); - spin_unlock(&qdev->hw_lock); goto err_init; } set_bit(QL_ADAPTER_UP, &qdev->flags);