diff options
Diffstat (limited to 'drivers/net/qlcnic')
-rw-r--r-- | drivers/net/qlcnic/qlcnic_main.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/net/qlcnic/qlcnic_main.c b/drivers/net/qlcnic/qlcnic_main.c index 0a2d7148f650..3d90bb2fc7db 100644 --- a/drivers/net/qlcnic/qlcnic_main.c +++ b/drivers/net/qlcnic/qlcnic_main.c | |||
@@ -2301,10 +2301,8 @@ qlcnic_check_health(struct qlcnic_adapter *adapter) | |||
2301 | if (qlcnic_check_temp(adapter)) | 2301 | if (qlcnic_check_temp(adapter)) |
2302 | goto detach; | 2302 | goto detach; |
2303 | 2303 | ||
2304 | if (adapter->need_fw_reset) { | 2304 | if (adapter->need_fw_reset) |
2305 | qlcnic_dev_request_reset(adapter); | 2305 | qlcnic_dev_request_reset(adapter); |
2306 | goto detach; | ||
2307 | } | ||
2308 | 2306 | ||
2309 | state = QLCRD32(adapter, QLCNIC_CRB_DEV_STATE); | 2307 | state = QLCRD32(adapter, QLCNIC_CRB_DEV_STATE); |
2310 | if (state == QLCNIC_DEV_NEED_RESET || state == QLCNIC_DEV_NEED_QUISCENT) | 2308 | if (state == QLCNIC_DEV_NEED_RESET || state == QLCNIC_DEV_NEED_QUISCENT) |