Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=7563a0b4b5c28b9695f7136fa0ef0cc4cbe1b0c6
Commit:     7563a0b4b5c28b9695f7136fa0ef0cc4cbe1b0c6
Parent:     475fed1e22e58508cf50c882db68c7b29842d4d5
Author:     Mariusz Kozlowski <[EMAIL PROTECTED]>
AuthorDate: Tue Aug 7 00:50:22 2007 +0200
Committer:  David S. Miller <[EMAIL PROTECTED]>
CommitDate: Wed Oct 10 16:50:33 2007 -0700

    [PATCH] drivers/net/wireless/wl3501_cs.c: remove redundant memset
    
    Signed-off-by: Mariusz Kozlowski <[EMAIL PROTECTED]>
    Signed-off-by: John W. Linville <[EMAIL PROTECTED]>
---
 drivers/net/wireless/wl3501_cs.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/drivers/net/wireless/wl3501_cs.c b/drivers/net/wireless/wl3501_cs.c
index 72f3d97..732b59f 100644
--- 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;
-
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