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

Commit 6b62472a authored by Adrian Bunk's avatar Adrian Bunk Committed by John W. Linville
Browse files

[PATCH] drivers/net/wireless/libertas/wext.c: remove dead code



This patch removes dead code introduced by
commit 90a42210 and spotted
by the Coverity checker.

Signed-off-by: default avatarAdrian Bunk <bunk@stusta.de>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent 74553aed
Loading
Loading
Loading
Loading
+0 −3
Original line number Diff line number Diff line
@@ -1719,9 +1719,6 @@ static int wlan_set_encodeext(struct net_device *dev,
			pkey->type = KEY_TYPE_ID_TKIP;
		} else if (alg == IW_ENCODE_ALG_CCMP) {
			pkey->type = KEY_TYPE_ID_AES;
		} else {
			ret = -EINVAL;
			goto out;
		}

		/* If WPA isn't enabled yet, do that now */