Commit ff6d76fd authored by Nicolas Kaiser's avatar Nicolas Kaiser Committed by John W. Linville

wireless/wl1271: remove redundant if-statement v2

wl1271_ps_elp_sleep() is void and cannot return a value.
Signed-off-by: default avatarNicolas Kaiser <nikai@nikai.net>
Reviewed-by: default avatarLuciano Coelho <luciano.coelho@nokia.com>
Signed-off-by: default avatarLuciano Coelho <luciano.coelho@nokia.com>
parent 54046431
...@@ -134,8 +134,6 @@ static int wl1271_event_ps_report(struct wl1271 *wl, ...@@ -134,8 +134,6 @@ static int wl1271_event_ps_report(struct wl1271 *wl,
/* go to extremely low power mode */ /* go to extremely low power mode */
wl1271_ps_elp_sleep(wl); wl1271_ps_elp_sleep(wl);
if (ret < 0)
break;
break; break;
case EVENT_EXIT_POWER_SAVE_FAIL: case EVENT_EXIT_POWER_SAVE_FAIL:
wl1271_debug(DEBUG_PSM, "PSM exit failed"); wl1271_debug(DEBUG_PSM, "PSM exit failed");
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment