OSDN Git Service

staging: csr: remove unneeded call to memset().
authorCyril Roelandt <tipecaml@gmail.com>
Tue, 4 Dec 2012 20:41:07 +0000 (21:41 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 7 Jan 2013 22:03:32 +0000 (14:03 -0800)
commit78855c7a7c3db183ddb311cd832a137ef7a5e83a
treeee46178a856fec9050167ee1713de2219fc40a5e
parentc020a7a4ea3bfd85afc1d2b5e18414252f18fe98
staging: csr: remove unneeded call to memset().

In uf_send_pkt_to_encrypt(), the memory area zeroed by this call to memset() is
overwritten by a call to memcpy() a few instructions later, so it is not needed.

Signed-off-by: Cyril Roelandt <tipecaml@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/csr/unifi_sme.c