staging: rtl8723bs: core: remove reassignment of same value to variable
authorSaurav Girepunje <saurav.girepunje@gmail.com>
Sun, 3 Oct 2021 16:18:28 +0000 (21:48 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 5 Oct 2021 10:28:22 +0000 (12:28 +0200)
commit403aa62da3efd1828f783c2453067bf239c16d1c
tree6ea134ff1137dabe72d9a7dda89d93b54b1e7dc8
parentd98f096cf5e1a339a77b7993423f7f62bcdebfbb
staging: rtl8723bs: core: remove reassignment of same value to variable

Remove reassignment of same value to variable pstat->auth_seq.
On if (seq == 1) assigning the value 2. At the end of if statement
also assigning the value pstat->auth_seq = seq + 1 that is again
assigning the value 2.

Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Saurav Girepunje <saurav.girepunje@gmail.com>
Link: https://lore.kernel.org/r/YVnX1HIYoisW621x@user
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8723bs/core/rtw_mlme_ext.c