staging: r8188eu: core: remove null check before vfree
authorSaurav Girepunje <saurav.girepunje@gmail.com>
Sun, 29 Aug 2021 17:00:09 +0000 (22:30 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 13 Sep 2021 06:49:42 +0000 (08:49 +0200)
commit53a768581944291dc7a811cf778e9a10c7ce24fb
treeb9f6c256afe70f5cf453b37f9ea57c59569ec7cf
parent6880fa6c56601bb8ed59df6c30fd390cc5f6dd8f
staging: r8188eu: core: remove null check before vfree

Remove NULL check. NULL check before freeing function is not needed.
Correct the indentation.

Reviewed-by: Dan Carpenter <dan.carpenter@oracle.com>
Acked-by: Michael Straube <straube.linux@gmail.com>
Signed-off-by: Saurav Girepunje <saurav.girepunje@gmail.com>
Link: https://lore.kernel.org/r/YSu9GQa1A3s6FYQx@user
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/r8188eu/core/rtw_sta_mgt.c