Commit 51c4ed95 authored by Dan Carpenter's avatar Dan Carpenter Committed by Luciano Coelho

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 49d750ca
"wl12xx: 1281/1283 support - New radio structs and functions".
Signed-off-by: default avatarDan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: default avatarLuciano Coelho <coelho@ti.com>
parent 9b44350b
......@@ -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);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment