staging: rtl8723bs: remove memset before memcpy
authorHimanshu Jha <himanshujha199640@gmail.com>
Sun, 27 Aug 2017 20:13:31 +0000 (01:43 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 28 Aug 2017 08:16:57 +0000 (10:16 +0200)
commit9c8e28df4457e6734237013adb577dbb265df15d
tree6fbf7b1cbf8688c936dad1972bb76805b79adfc3
parentb55ade192b51c67db34b0a62c28fe294b2107fb7
staging: rtl8723bs: remove memset before memcpy

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

Build successfully.

Signed-off-by: Himanshu Jha <himanshujha199640@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8723bs/core/rtw_ioctl_set.c
drivers/staging/rtl8723bs/core/rtw_mlme.c
drivers/staging/rtl8723bs/os_dep/mlme_linux.c