Skip to content

Commit

Permalink
[PATCH] drivers/net/wireless/libertas/wext.c: remove dead code
Browse files Browse the repository at this point in the history
This patch removes dead code introduced by
commit 90a4221 and spotted
by the Coverity checker.

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
  • Loading branch information
Adrian Bunk authored and John W. Linville committed Jul 10, 2007
1 parent 74553ae commit 6b62472
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions drivers/net/wireless/libertas/wext.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down

0 comments on commit 6b62472

Please sign in to comment.