staging: rtlwifi: remove memset before memcpy
authorHimanshu Jha <himanshujha199640@gmail.com>
Mon, 28 Aug 2017 10:45:32 +0000 (16:15 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 29 Aug 2017 06:24:03 +0000 (08:24 +0200)
commit30207d7b640cd27a814abbc657c911121160dc10
tree7bdeaa53a5eaaa689e2503e341c71c53afd63883
parent56277035c294ec4877aabc97febcf55a2b3ef397
staging: rtlwifi: 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: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtlwifi/base.c