Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b1b3751c authored by Dan Carpenter's avatar Dan Carpenter Committed by John W. Linville
Browse files

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: default avatarDan Carpenter <error27@gmail.com>
Acked-by: default avatarLuciano Coelho <luciano.coelho@nokia.com>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent 8607b79c
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -1563,8 +1563,6 @@ static int wl1271_op_set_key(struct ieee80211_hw *hw, enum set_key_cmd cmd,
	default:
		wl1271_error("Unsupported key cmd 0x%x", cmd);
		ret = -EOPNOTSUPP;
		goto out_sleep;

		break;
	}