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>
This commit is contained in:
Dan Carpenter 2012-02-08 12:20:04 +03:00 committed by Luciano Coelho
parent 9b44350b49
commit 51c4ed95a8
1 changed files with 0 additions and 2 deletions

View File

@ -680,8 +680,6 @@ static int wl1271_plt_init(struct wl1271 *wl)
if (ret < 0)
return ret;
}
if (ret < 0)
return ret;
/* Chip-specific initializations */
ret = wl1271_chip_specific_init(wl);