qlge: bugfix: Get rid of errant spin_unlock().
authorRon Mercer <ron.mercer@qlogic.com>
Tue, 9 Jun 2009 06:35:12 +0000 (06:35 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 10 Jun 2009 08:04:16 +0000 (01:04 -0700)
Signed-off-by: Ron Mercer <ron.mercer@qlogic.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/qlge/qlge_main.c

index 5055f5b37a73f2d455ed2c56324aeb4c8cd14e33..024c7343ada0c777aaf34f45566c76cf731f3007 100644 (file)
@@ -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);