rsi: remove memset before memcpy
authorHimanshu Jha <himanshujha199640@gmail.com>
Tue, 29 Aug 2017 18:54:50 +0000 (00:24 +0530)
committerKalle Valo <kvalo@codeaurora.org>
Wed, 30 Aug 2017 16:51:29 +0000 (19:51 +0300)
commit66a3479e12176e98a847971558ff8b795f732c8c
tree39e8ae5722ca8d7e04a1f2f0b8710e8a33d1fa11
parent83ec489193894e52bd395eec470f4f7c4286d4a5
rsi: remove memset before memcpy

calling memcpy immediately after memset with the same region of memory
makes memset redundant.

Signed-off-by: Himanshu Jha <himanshujha199640@gmail.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/rsi/rsi_91x_sdio.c
drivers/net/wireless/rsi/rsi_91x_usb.c