Skip to content
This repository has been archived by the owner on Jul 7, 2021. It is now read-only.

Commit

Permalink
qcacmn: Remove unused 'third_index' variable
Browse files Browse the repository at this point in the history
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 <return.of.octobot@gmail.com>
  • Loading branch information
0ctobot committed Dec 31, 2019
1 parent 12699a4 commit 3d3d5ae
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 3d3d5ae

Please sign in to comment.