staging/rtl8723bs/core: remove inactive initialization
authorLi zeming <zeming@nfschina.com>
Tue, 2 Aug 2022 01:25:13 +0000 (09:25 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 16 Aug 2022 13:14:36 +0000 (15:14 +0200)
commit973deac54086b8e0e89d340441fe40d10bbbcd73
tree033ae0cb88d09c39e456fb8fd4f4af9f8f597854
parentef21bdc5b671f85607c39000320cbcfabed83867
staging/rtl8723bs/core: remove inactive initialization

The allocation address of the psta pointer variable is first performed
in the function, no initialization assignment is required, and no
invalid pointer will appear.

Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Li zeming <zeming@nfschina.com>
Link: https://lore.kernel.org/r/20220802012513.2824-1-zeming@nfschina.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8723bs/core/rtw_mlme.c