In the function rtw_reset_securitypriv() three variables are
initialized to zero. That is not necessary because they are all
set before use in the code. Remove the initializations.
Tested-by: Philipp Hortmann <philipp.g.hortmann@gmail.com> # Edimax N150
Signed-off-by: Michael Straube <straube.linux@gmail.com>
Link: https://lore.kernel.org/r/20220819125428.8412-7-straube.linux@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
 
 void rtw_reset_securitypriv(struct adapter *adapter)
 {
-       u8      backup_index = 0;
-       u8      backup_counter = 0x00;
-       u32     backup_time = 0;
+       u8 backup_index;
+       u8 backup_counter;
+       u32 backup_time;
 
        if (adapter->securitypriv.dot11AuthAlgrthm == dot11AuthAlgrthm_8021X) {
                /* 802.1x */