qlge: Don't fail open when port is not initialized.
authorRon Mercer <ron.mercer@qlogic.com>
Sat, 10 Oct 2009 09:35:09 +0000 (09:35 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 12 Oct 2009 06:16:17 +0000 (23:16 -0700)
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 644077e7b5494caa51e9ea844907d727a03769d3..817613919b51956bf919ebb8d49b65b8b99ac80a 100644 (file)
@@ -3311,10 +3311,8 @@ static int ql_adapter_initialize(struct ql_adapter *qdev)
 
        /* Initialize the port and set the max framesize. */
        status = qdev->nic_ops->port_initialize(qdev);
-       if (status) {
-              QPRINTK(qdev, IFUP, ERR, "Failed to start port.\n");
-              return status;
-       }
+       if (status)
+               QPRINTK(qdev, IFUP, ERR, "Failed to start port.\n");
 
        /* Set up the MAC address and frame routing filter. */
        status = ql_cam_route_initialize(qdev);