qlge: bugfix: Get rid of errant spin_unlock().
Ron Mercer [Tue, 9 Jun 2009 06:35:12 +0000 (06:35 +0000)]
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 5055f5b..024c734 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);