staging: r8188eu: don't set pcmd_obj components to 0
authorMartin Kaiser <martin@kaiser.cx>
Sun, 23 Oct 2022 17:08:05 +0000 (19:08 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 25 Oct 2022 17:22:51 +0000 (19:22 +0200)
commit2ce164e9b363ee845287b7e693a1f9e7429ecc08
tree5459318b15803278d126e8d3c8628296f464f736
parentec6d91016437fe8e5fdcb8cc60c14887e588998f
staging: r8188eu: don't set pcmd_obj components to 0

pcmd_obj was allocated with kzalloc, its memory is filled with 0s.
There's no need to set rsp and rspsz to NULL or 0 again.

Signed-off-by: Martin Kaiser <martin@kaiser.cx>
Tested-by: Philipp Hortmann <philipp.g.hortmann@gmail.com> # Edimax N150
Link: https://lore.kernel.org/r/20221023170808.46233-3-martin@kaiser.cx
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/r8188eu/core/rtw_mlme_ext.c