[PATCH] drivers/net/wireless/wl3501_cs.c: remove redundant memset

Signed-off-by: Mariusz Kozlowski <m.kozlowski@tuxland.pl>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
This commit is contained in:
Mariusz Kozlowski 2007-08-07 00:50:22 +02:00 committed by David S. Miller
parent 475fed1e22
commit 7563a0b4b5
1 changed files with 0 additions and 1 deletions

View File

@ -1841,7 +1841,6 @@ static int wl3501_get_encode(struct net_device *dev,
tocopy = min_t(u8, len_keys, wrqu->encoding.length);
tocopy = min_t(u8, tocopy, 100);
wrqu->encoding.length = tocopy;
memset(extra, 0, tocopy);
memcpy(extra, keys, tocopy);
out:
return rc;