[PATCH] staging: csr: remove unneeded call to memset().

2012-12-04 Thread Cyril Roelandt
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 --- drivers/staging/csr/unifi_sme.c |1 - 1 file changed, 1 deletion(-) diff --git

[PATCH] staging: csr: remove unneeded call to memset().

2012-12-04 Thread Cyril Roelandt
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 tipec...@gmail.com --- drivers/staging/csr/unifi_sme.c |1 - 1 file changed, 1 deletion(-) diff