aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/qlge/qlge_main.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/qlge/qlge_main.c')
-rw-r--r--drivers/net/qlge/qlge_main.c2
1 files changed, 0 insertions, 2 deletions
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)
3250{ 3250{
3251 int err = 0; 3251 int err = 0;
3252 3252
3253 spin_lock(&qdev->hw_lock);
3254 err = ql_adapter_initialize(qdev); 3253 err = ql_adapter_initialize(qdev);
3255 if (err) { 3254 if (err) {
3256 QPRINTK(qdev, IFUP, INFO, "Unable to initialize adapter.\n"); 3255 QPRINTK(qdev, IFUP, INFO, "Unable to initialize adapter.\n");
3257 spin_unlock(&qdev->hw_lock); 3256 spin_unlock(&qdev->hw_lock);
3258 goto err_init; 3257 goto err_init;
3259 } 3258 }
3260 spin_unlock(&qdev->hw_lock);
3261 set_bit(QL_ADAPTER_UP, &qdev->flags); 3259 set_bit(QL_ADAPTER_UP, &qdev->flags);
3262 ql_alloc_rx_buffers(qdev); 3260 ql_alloc_rx_buffers(qdev);
3263 if ((ql_read32(qdev, STS) & qdev->port_init)) 3261 if ((ql_read32(qdev, STS) & qdev->port_init))