mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-14 00:24:41 -04:00
wireless/wl1271: remove redundant if-statement v2
wl1271_ps_elp_sleep() is void and cannot return a value. Signed-off-by: Nicolas Kaiser <nikai@nikai.net> Reviewed-by: Luciano Coelho <luciano.coelho@nokia.com> Signed-off-by: Luciano Coelho <luciano.coelho@nokia.com>
This commit is contained in:
parent
5404643139
commit
ff6d76fd3d
1 changed files with 0 additions and 2 deletions
|
|
@ -134,8 +134,6 @@ static int wl1271_event_ps_report(struct wl1271 *wl,
|
|||
|
||||
/* go to extremely low power mode */
|
||||
wl1271_ps_elp_sleep(wl);
|
||||
if (ret < 0)
|
||||
break;
|
||||
break;
|
||||
case EVENT_EXIT_POWER_SAVE_FAIL:
|
||||
wl1271_debug(DEBUG_PSM, "PSM exit failed");
|
||||
|
|
|
|||
Loading…
Reference in a new issue