mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-29 22:36:48 +07:00
qlge: Remove spinlock from asic init path.
There is nothing to contend with it. Signed-off-by: Ron Mercer <ron.mercer@qlogic.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
b25215d043
commit
39a28bc480
@ -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))
|
||||
|
Loading…
Reference in New Issue
Block a user