qcacld-3.0: Remove local variables not used

With the introduction of code change in
I16a5429c00034fe58fb4c70a8dacda666ac54227,
function __wlan_hdd_cfg80211_suspend_wlan doesn't
need the local variable 'scan_info' any more, so
remove it.

Change-Id: I09070d90004f740b25b45b424902521e7bfb6f6b
CRs-Fixed: 2425697
This commit is contained in:
wadesong 2019-03-28 21:06:10 +08:00 • committed by nshrivas
commit 4e0852344d

View file

@ -1684,7 +1684,6 @@ static int __wlan_hdd_cfg80211_suspend_wlan(struct wiphy *wiphy,
{
struct hdd_context *hdd_ctx = wiphy_priv(wiphy);
struct hdd_adapter *adapter;
struct hdd_scan_info *scan_info;
mac_handle_t mac_handle;
int rc;
@ -1750,8 +1749,6 @@ static int __wlan_hdd_cfg80211_suspend_wlan(struct wiphy *wiphy,
/* Stop ongoing scan on each interface */
hdd_for_each_adapter(hdd_ctx, adapter) {
scan_info = &adapter->scan_info;
if (sme_neighbor_middle_of_roaming(mac_handle,
adapter->vdev_id) ||
hdd_is_roaming_in_progress(hdd_ctx)) {