projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
74553ae
)
[PATCH] drivers/net/wireless/libertas/wext.c: remove dead code
author
Adrian Bunk
<bunk@stusta.de>
Sun, 1 Jul 2007 20:20:40 +0000
(22:20 +0200)
committer
John W. Linville
<linville@tuxdriver.com>
Tue, 10 Jul 2007 18:15:31 +0000
(14:15 -0400)
This patch removes dead code introduced by
commit
90a42210f275e1f828eb6c08bf8252c2d6a774e0
and spotted
by the Coverity checker.
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/libertas/wext.c
patch
|
blob
|
history
diff --git
a/drivers/net/wireless/libertas/wext.c
b/drivers/net/wireless/libertas/wext.c
index
f42b796
..
2fcc3bf
100644
(file)
--- a/
drivers/net/wireless/libertas/wext.c
+++ b/
drivers/net/wireless/libertas/wext.c
@@
-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 */