Skip to content

Commit

Permalink
wireless/wl1271: remove redundant if-statement v2
Browse files Browse the repository at this point in the history
wl1271_ps_elp_sleep() is void and cannot return a value.

Signed-off-by: Nicolas Kaiser <[email protected]>
Reviewed-by: Luciano Coelho <[email protected]>
Signed-off-by: Luciano Coelho <[email protected]>
  • Loading branch information
nikai3d authored and linvjw committed Nov 15, 2010
1 parent 5404643 commit ff6d76f
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions drivers/net/wireless/wl12xx/wl1271_event.c
Original file line number Diff line number Diff line change
Expand Up @@ -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");
Expand Down

0 comments on commit ff6d76f

Please sign in to comment.