[PATCH] drivers/net/wireless/libertas/wext.c: remove dead code
This patch removes dead code introduced by
commit 90a42210f2
and spotted
by the Coverity checker.
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
This commit is contained in:
committed by
John W. Linville
parent
74553aedd4
commit
6b62472a5f
@@ -1719,9 +1719,6 @@ static int wlan_set_encodeext(struct net_device *dev,
|
|||||||
pkey->type = KEY_TYPE_ID_TKIP;
|
pkey->type = KEY_TYPE_ID_TKIP;
|
||||||
} else if (alg == IW_ENCODE_ALG_CCMP) {
|
} else if (alg == IW_ENCODE_ALG_CCMP) {
|
||||||
pkey->type = KEY_TYPE_ID_AES;
|
pkey->type = KEY_TYPE_ID_AES;
|
||||||
} else {
|
|
||||||
ret = -EINVAL;
|
|
||||||
goto out;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/* If WPA isn't enabled yet, do that now */
|
/* If WPA isn't enabled yet, do that now */
|
||||||
|
Reference in New Issue
Block a user