Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=6b62472a5ff9605aafa43a0a341c32127821f7b2
Commit:     6b62472a5ff9605aafa43a0a341c32127821f7b2
Parent:     74553aedd46b3a2cae986f909cf2a3f99369decc
Author:     Adrian Bunk <[EMAIL PROTECTED]>
AuthorDate: Sun Jul 1 22:20:40 2007 +0200
Committer:  John W. Linville <[EMAIL PROTECTED]>
CommitDate: Tue Jul 10 14:15:31 2007 -0400

    [PATCH] drivers/net/wireless/libertas/wext.c: remove dead code
    
    This patch removes dead code introduced by
    commit 90a42210f275e1f828eb6c08bf8252c2d6a774e0 and spotted
    by the Coverity checker.
    
    Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]>
    Signed-off-by: John W. Linville <[EMAIL PROTECTED]>
---
 drivers/net/wireless/libertas/wext.c |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)

diff --git a/drivers/net/wireless/libertas/wext.c 
b/drivers/net/wireless/libertas/wext.c
index f42b796..2fcc3bf 100644
--- 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 */
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to