qcacld-3.0: Fix kernel checkpatch warnings in wlan_hdd_ext_scan.c
Fix kernel checkpatch warnings in wlan_hdd_ext_scan.c. Change-Id: I1632961a9af5692c607e955df5820a47d27d3241 CRs-Fixed: 2024274
This commit is contained in:

committed by
Sandeep Puligilla

parent
388dea84fc
commit
cf2d0afe5e
@@ -189,8 +189,6 @@ wlan_hdd_cfg80211_extscan_get_capabilities_rsp(void *ctx,
|
|||||||
context->capability_response = *data;
|
context->capability_response = *data;
|
||||||
complete(&context->response_event);
|
complete(&context->response_event);
|
||||||
spin_unlock(&context->context_lock);
|
spin_unlock(&context->context_lock);
|
||||||
|
|
||||||
return;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
@@ -429,6 +427,7 @@ wlan_hdd_cfg80211_extscan_cached_results_ind(void *ctx,
|
|||||||
|
|
||||||
if (data->num_scan_ids) {
|
if (data->num_scan_ids) {
|
||||||
struct nlattr *nla_results;
|
struct nlattr *nla_results;
|
||||||
|
|
||||||
result = &data->result[0];
|
result = &data->result[0];
|
||||||
|
|
||||||
if (nla_put_u32(skb,
|
if (nla_put_u32(skb,
|
||||||
@@ -502,8 +501,6 @@ fail:
|
|||||||
spin_lock(&context->context_lock);
|
spin_lock(&context->context_lock);
|
||||||
context->response_status = -EINVAL;
|
context->response_status = -EINVAL;
|
||||||
spin_unlock(&context->context_lock);
|
spin_unlock(&context->context_lock);
|
||||||
|
|
||||||
return;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -638,7 +635,6 @@ wlan_hdd_cfg80211_extscan_hotlist_match_ind(void *ctx,
|
|||||||
|
|
||||||
fail:
|
fail:
|
||||||
kfree_skb(skb);
|
kfree_skb(skb);
|
||||||
return;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -906,7 +902,6 @@ wlan_hdd_cfg80211_extscan_full_scan_result_event(void *ctx,
|
|||||||
|
|
||||||
nla_put_failure:
|
nla_put_failure:
|
||||||
kfree_skb(skb);
|
kfree_skb(skb);
|
||||||
return;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -967,7 +962,6 @@ wlan_hdd_cfg80211_extscan_scan_res_available_event(
|
|||||||
|
|
||||||
nla_put_failure:
|
nla_put_failure:
|
||||||
kfree_skb(skb);
|
kfree_skb(skb);
|
||||||
return;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -1044,7 +1038,6 @@ wlan_hdd_cfg80211_extscan_scan_progress_event(void *ctx,
|
|||||||
|
|
||||||
nla_put_failure:
|
nla_put_failure:
|
||||||
kfree_skb(skb);
|
kfree_skb(skb);
|
||||||
return;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -1141,6 +1134,7 @@ wlan_hdd_cfg80211_extscan_epno_match_found(void *ctx,
|
|||||||
|
|
||||||
if (data->num_results) {
|
if (data->num_results) {
|
||||||
struct nlattr *nla_aps;
|
struct nlattr *nla_aps;
|
||||||
|
|
||||||
nla_aps = nla_nest_start(skb,
|
nla_aps = nla_nest_start(skb,
|
||||||
QCA_WLAN_VENDOR_ATTR_EXTSCAN_RESULTS_LIST);
|
QCA_WLAN_VENDOR_ATTR_EXTSCAN_RESULTS_LIST);
|
||||||
if (!nla_aps)
|
if (!nla_aps)
|
||||||
@@ -1158,7 +1152,6 @@ wlan_hdd_cfg80211_extscan_epno_match_found(void *ctx,
|
|||||||
|
|
||||||
fail:
|
fail:
|
||||||
kfree_skb(skb);
|
kfree_skb(skb);
|
||||||
return;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -1290,7 +1283,6 @@ wlan_hdd_cfg80211_passpoint_match_found(void *ctx,
|
|||||||
|
|
||||||
fail:
|
fail:
|
||||||
kfree_skb(skb);
|
kfree_skb(skb);
|
||||||
return;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -1331,8 +1323,6 @@ wlan_hdd_cfg80211_extscan_generic_rsp
|
|||||||
complete(&context->response_event);
|
complete(&context->response_event);
|
||||||
}
|
}
|
||||||
spin_unlock(&context->context_lock);
|
spin_unlock(&context->context_lock);
|
||||||
|
|
||||||
return;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -1358,7 +1348,8 @@ void wlan_hdd_cfg80211_extscan_callback(void *ctx, const uint16_t evType,
|
|||||||
switch (evType) {
|
switch (evType) {
|
||||||
case eSIR_EXTSCAN_CACHED_RESULTS_RSP:
|
case eSIR_EXTSCAN_CACHED_RESULTS_RSP:
|
||||||
/* There is no need to send this response to upper layer
|
/* There is no need to send this response to upper layer
|
||||||
Just log the message */
|
* Just log the message
|
||||||
|
*/
|
||||||
hdd_debug("Rcvd eSIR_EXTSCAN_CACHED_RESULTS_RSP");
|
hdd_debug("Rcvd eSIR_EXTSCAN_CACHED_RESULTS_RSP");
|
||||||
break;
|
break;
|
||||||
|
|
||||||
@@ -2081,7 +2072,7 @@ int wlan_hdd_cfg80211_extscan_set_bssid_hotlist(struct wiphy *wiphy,
|
|||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* __wlan_hdd_cfg80211_extscan_set_significant_change () - set significant change
|
* __wlan_hdd_cfg80211_extscan_set_significant_change() - set significant change
|
||||||
* @wiphy: Pointer to wireless phy
|
* @wiphy: Pointer to wireless phy
|
||||||
* @wdev: Pointer to wireless device
|
* @wdev: Pointer to wireless device
|
||||||
* @data: Pointer to data
|
* @data: Pointer to data
|
||||||
@@ -4284,7 +4275,6 @@ static inline void wlan_hdd_init_completion_extwow(hdd_context_t *pHddCtx)
|
|||||||
#else
|
#else
|
||||||
static inline void wlan_hdd_init_completion_extwow(hdd_context_t *pHddCtx)
|
static inline void wlan_hdd_init_completion_extwow(hdd_context_t *pHddCtx)
|
||||||
{
|
{
|
||||||
return;
|
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user