]> git.baikalelectronics.ru Git - kernel.git/commit
staging: rtl8188eu: remove unnecessary call to memset
authorHimanshu Jha <himanshujha199640@gmail.com>
Mon, 28 Aug 2017 11:06:02 +0000 (16:36 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 29 Aug 2017 06:24:04 +0000 (08:24 +0200)
commitd8a53b8de357d516e4a91a63362f9459e761590a
tree6d3b4e8c7b04c0ba5565786869f85e6862dfc5e7
parent522a874543b02fe328ef7b994175f06db7220383
staging: rtl8188eu: remove unnecessary call to memset

call to memset to assign 0 value immediately after allocating
memory with kzalloc is unnecesaary as kzalloc allocates the memory
filled with 0 value.

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