staging: r8822be: remove unnecessary call to memset
authorHimanshu Jha <himanshujha199640@gmail.com>
Sun, 27 Aug 2017 13:23:56 +0000 (18:53 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 27 Aug 2017 17:59:10 +0000 (19:59 +0200)
commit3687994a032115e6e4f89c5715304f5361d13cfb
tree58c9296fd4e7b6a5613862491e75f816c5b702b9
parentb9d7adc45d8837040a9f2cea584b4e0ef25ca271
staging: r8822be: 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.

Build and tested it.

Signed-off-by: Himanshu Jha <himanshujha199640@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtlwifi/halmac/halmac_88xx/halmac_api_88xx.c
drivers/staging/rtlwifi/halmac/halmac_88xx/halmac_func_88xx.c