staging: rtl8723bs: remove empty else block in os_dep/ioctl_cfg80211.c
authorFabio Aiuto <fabioaiuto83@gmail.com>
Sat, 10 Apr 2021 14:20:35 +0000 (16:20 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 11 Apr 2021 06:45:03 +0000 (08:45 +0200)
remove empty else-block

Signed-off-by: Fabio Aiuto <fabioaiuto83@gmail.com>
Link: https://lore.kernel.org/r/1bee993834410c2c11a6799e1868589efc1334f6.1618064275.git.fabioaiuto83@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c

index 39d0a0d..9c98820 100644 (file)
@@ -1226,7 +1226,6 @@ void rtw_cfg80211_indicate_scan_done(struct adapter *adapter, bool aborted)
                        cfg80211_scan_done(pwdev_priv->scan_request, &info);
 
                pwdev_priv->scan_request = NULL;
-       } else {
        }
        spin_unlock_bh(&pwdev_priv->scan_req_lock);
 }