mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-19 11:11:26 -04:00
qcacld-3.0: Remove pcds_context from struct hdd_context
The pcds_context field in struct hdd_context is no longer referenced, so remove the field along with the code that currently initializes it. Change-Id: Ibac0eedfa0c1e2bd170af9f91812fd25c0ab3ce7 CRs-Fixed: 2116985
This commit is contained in:
parent
bc0ae77d63
commit
adbc45e87d
2 changed files with 0 additions and 13 deletions
|
|
@ -1566,9 +1566,6 @@ enum tos {
|
|||
|
||||
/** Adapter structure definition */
|
||||
struct hdd_context {
|
||||
/** Global CDS context */
|
||||
v_CONTEXT_t pcds_context;
|
||||
|
||||
struct wlan_objmgr_psoc *hdd_psoc;
|
||||
struct wlan_objmgr_pdev *hdd_pdev;
|
||||
|
||||
|
|
|
|||
|
|
@ -7781,25 +7781,15 @@ static struct hdd_context *hdd_context_create(struct device *dev)
|
|||
QDF_STATUS status;
|
||||
int ret = 0;
|
||||
struct hdd_context *hdd_ctx;
|
||||
v_CONTEXT_t p_cds_context;
|
||||
|
||||
ENTER();
|
||||
|
||||
p_cds_context = cds_get_global_context();
|
||||
if (p_cds_context == NULL) {
|
||||
hdd_err("Failed to get CDS global context");
|
||||
ret = -EINVAL;
|
||||
goto err_out;
|
||||
}
|
||||
|
||||
hdd_ctx = hdd_cfg80211_wiphy_alloc(sizeof(struct hdd_context));
|
||||
|
||||
if (hdd_ctx == NULL) {
|
||||
ret = -ENOMEM;
|
||||
goto err_out;
|
||||
}
|
||||
|
||||
hdd_ctx->pcds_context = p_cds_context;
|
||||
hdd_ctx->parent_dev = dev;
|
||||
hdd_ctx->last_scan_reject_session_id = 0xFF;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue