aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2012-02-08 04:20:04 -0500
committerLuciano Coelho <coelho@ti.com>2012-02-15 05:25:26 -0500
commit51c4ed95a857ded6017537fd53fa00db64908954 (patch)
tree539dba5a4def2c36942afaa7443e1374677d5540 /drivers/net
parent9b44350b495a6ec94f59073c5a4e09e80a818304 (diff)
wl12xx: remove some dead code in wl1271_plt_init()
"ret" has already been checked at this point, and we don't need to check it again. This was left around from a previous patch 49d750ca14 "wl12xx: 1281/1283 support - New radio structs and functions". Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Luciano Coelho <coelho@ti.com>
Diffstat (limited to 'drivers/net')
-rw-r--r--drivers/net/wireless/wl12xx/main.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/net/wireless/wl12xx/main.c b/drivers/net/wireless/wl12xx/main.c
index fc8dfbfe1d89..adf9bbcf88fd 100644
--- a/drivers/net/wireless/wl12xx/main.c
+++ b/drivers/net/wireless/wl12xx/main.c
@@ -680,8 +680,6 @@ static int wl1271_plt_init(struct wl1271 *wl)
680 if (ret < 0) 680 if (ret < 0)
681 return ret; 681 return ret;
682 } 682 }
683 if (ret < 0)
684 return ret;
685 683
686 /* Chip-specific initializations */ 684 /* Chip-specific initializations */
687 ret = wl1271_chip_specific_init(wl); 685 ret = wl1271_chip_specific_init(wl);