projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
475fed1
)
[PATCH] drivers/net/wireless/wl3501_cs.c: remove redundant memset
author
Mariusz Kozlowski
<
[email protected]
>
Mon, 6 Aug 2007 22:50:22 +0000
(
00:50
+0200)
committer
David S. Miller
<
[email protected]
>
Wed, 10 Oct 2007 23:50:33 +0000
(16:50 -0700)
Signed-off-by: Mariusz Kozlowski <
[email protected]
>
Signed-off-by: John W. Linville <
[email protected]
>
drivers/net/wireless/wl3501_cs.c
patch
|
blob
|
history
diff --git
a/drivers/net/wireless/wl3501_cs.c
b/drivers/net/wireless/wl3501_cs.c
index 72f3d97e7cb4c65b39de5e71b467318c831b7862..732b59f19892bb8e301f2a4459b0abd92cc9a171 100644
(file)
--- a/
drivers/net/wireless/wl3501_cs.c
+++ b/
drivers/net/wireless/wl3501_cs.c
@@
-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;