staging: r8188eu: Drop redundant memset
authorHaowen Bai <baihaowen@meizu.com>
Thu, 21 Apr 2022 09:20:43 +0000 (17:20 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 22 Apr 2022 14:41:57 +0000 (16:41 +0200)
commit2c61fd036ac51e7ca11ab2fb6252605e8fc9bd23
treef261bcf835ea006d7049553f97a0dc58249b9f97
parentcb65037baa62f90cfc0b14babdff0b71ceedbbbd
staging: r8188eu: Drop redundant memset

The region set by the call to memset is immediately overwritten by the
subsequent call to memcpy. So we drop redundant memset.

Signed-off-by: Haowen Bai <baihaowen@meizu.com>
Link: https://lore.kernel.org/r/1650532843-28132-1-git-send-email-baihaowen@meizu.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/r8188eu/os_dep/mlme_linux.c