diff options
author | Nicolas Kaiser <nikai@nikai.net> | 2010-10-25 15:30:03 +0200 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2010-11-15 19:25:16 +0100 |
commit | ff6d76fd3d45ed5494287e57d76073739721214b (patch) | |
tree | b41b349f17d186c76fac5052f3a540a0e3b8680f /drivers/net/wireless/wl12xx | |
parent | wl1271: exit ELP mode when setting enabled rates in tx (diff) | |
download | linux-ff6d76fd3d45ed5494287e57d76073739721214b.tar.xz linux-ff6d76fd3d45ed5494287e57d76073739721214b.zip |
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>
Diffstat (limited to 'drivers/net/wireless/wl12xx')
-rw-r--r-- | drivers/net/wireless/wl12xx/wl1271_event.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/net/wireless/wl12xx/wl1271_event.c b/drivers/net/wireless/wl12xx/wl1271_event.c index 7b3f50382963..38ccef7d73a5 100644 --- a/drivers/net/wireless/wl12xx/wl1271_event.c +++ b/drivers/net/wireless/wl12xx/wl1271_event.c @@ -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"); |