From 3d3d5ae01b76dcda4e6eab285fa3fc7b9db6b0e2 Mon Sep 17 00:00:00 2001 From: "Adam W. Willis" Date: Fri, 27 Dec 2019 20:18:01 -0500 Subject: [PATCH] qcacmn: Remove unused 'third_index' variable Subsequent to LA.UM.8.1.r1-12800-sm8150.0 ("qcacmn: Merge tag 'LA.UM.8.1.r1-12800-sm8150.0' into neutrino-msm-hotdogb-4.14") This silences the following compiler warning: ../drivers/staging/qcacld-3.0/../qca-wifi-host-cmn/umac/cmn_services/policy_mgr/src/wlan_policy_mgr_pcl.c:634:38: error: unused variable 'third_index' [-Werror,-Wunused-variable] enum policy_mgr_two_connection_mode third_index = 0; ^ Signed-off-by: Adam W. Willis --- .../umac/cmn_services/policy_mgr/src/wlan_policy_mgr_pcl.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/staging/qca-wifi-host-cmn/umac/cmn_services/policy_mgr/src/wlan_policy_mgr_pcl.c b/drivers/staging/qca-wifi-host-cmn/umac/cmn_services/policy_mgr/src/wlan_policy_mgr_pcl.c index a6c892857d09..4dfd66a09b20 100644 --- a/drivers/staging/qca-wifi-host-cmn/umac/cmn_services/policy_mgr/src/wlan_policy_mgr_pcl.c +++ b/drivers/staging/qca-wifi-host-cmn/umac/cmn_services/policy_mgr/src/wlan_policy_mgr_pcl.c @@ -631,7 +631,6 @@ QDF_STATUS policy_mgr_get_pcl(struct wlan_objmgr_psoc *psoc, uint32_t num_connections = 0, i; enum policy_mgr_conc_priority_mode first_index = 0; enum policy_mgr_one_connection_mode second_index = 0; - enum policy_mgr_two_connection_mode third_index = 0; enum policy_mgr_pcl_type pcl = PM_NONE; enum policy_mgr_conc_priority_mode conc_system_pref = 0; struct policy_mgr_psoc_priv_obj *pm_ctx;