diff options
author | Dan Carpenter <error27@gmail.com> | 2010-05-08 12:26:38 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2010-05-11 15:14:20 -0400 |
commit | b1b3751c750277c92684c932b46eeb723babe196 (patch) | |
tree | cd49b04fb4b7988c977b42becde5cf36c9b55be6 /drivers | |
parent | 8607b79c794a706e6df79d44da261887c5f5def2 (diff) |
wl1271: remove some unneeded code
The goto and the break are equivelent. I removed the goto in memory of
Edsger Dijkstra who famously hated gotos and who would have been eighty
years old next Tuesday.
Signed-off-by: Dan Carpenter <error27@gmail.com>
Acked-by: Luciano Coelho <luciano.coelho@nokia.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/net/wireless/wl12xx/wl1271_main.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/net/wireless/wl12xx/wl1271_main.c b/drivers/net/wireless/wl12xx/wl1271_main.c index 55aa813c82c7..da40ceec4f8e 100644 --- a/drivers/net/wireless/wl12xx/wl1271_main.c +++ b/drivers/net/wireless/wl12xx/wl1271_main.c | |||
@@ -1563,8 +1563,6 @@ static int wl1271_op_set_key(struct ieee80211_hw *hw, enum set_key_cmd cmd, | |||
1563 | default: | 1563 | default: |
1564 | wl1271_error("Unsupported key cmd 0x%x", cmd); | 1564 | wl1271_error("Unsupported key cmd 0x%x", cmd); |
1565 | ret = -EOPNOTSUPP; | 1565 | ret = -EOPNOTSUPP; |
1566 | goto out_sleep; | ||
1567 | |||
1568 | break; | 1566 | break; |
1569 | } | 1567 | } |
1570 | 1568 | ||