提交 1abb0de2 编写于 作者: R Ron Mercer 提交者: David S. Miller

qlge: bugfix: Get rid of errant spin_unlock().

Signed-off-by: NRon Mercer <ron.mercer@qlogic.com>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 00acd0d2
...@@ -3299,7 +3299,6 @@ static int ql_adapter_up(struct ql_adapter *qdev) ...@@ -3299,7 +3299,6 @@ static int ql_adapter_up(struct ql_adapter *qdev)
err = ql_adapter_initialize(qdev); err = ql_adapter_initialize(qdev);
if (err) { if (err) {
QPRINTK(qdev, IFUP, INFO, "Unable to initialize adapter.\n"); QPRINTK(qdev, IFUP, INFO, "Unable to initialize adapter.\n");
spin_unlock(&qdev->hw_lock);
goto err_init; goto err_init;
} }
set_bit(QL_ADAPTER_UP, &qdev->flags); set_bit(QL_ADAPTER_UP, &qdev->flags);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册