From: Ron Mercer Date: Mon, 9 Mar 2009 10:59:25 +0000 (+0000) Subject: qlge: Remove spinlock from asic init path. X-Git-Tag: MMI-PSA29.97-13-9~29230^2~296 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=39a28bc480bff0f778d043877aff2fd16ad5f769;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git qlge: Remove spinlock from asic init path. There is nothing to contend with it. 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 75ad4dbb5cb7..f7f104ab5ffb 100644 --- a/drivers/net/qlge/qlge_main.c +++ b/drivers/net/qlge/qlge_main.c @@ -3250,14 +3250,12 @@ static int ql_adapter_up(struct ql_adapter *qdev) { int err = 0; - spin_lock(&qdev->hw_lock); err = ql_adapter_initialize(qdev); if (err) { QPRINTK(qdev, IFUP, INFO, "Unable to initialize adapter.\n"); spin_unlock(&qdev->hw_lock); goto err_init; } - spin_unlock(&qdev->hw_lock); set_bit(QL_ADAPTER_UP, &qdev->flags); ql_alloc_rx_buffers(qdev); if ((ql_read32(qdev, STS) & qdev->port_init))