2022-09-11 09:06:44

by Gaosheng Cui

[permalink] [raw]
Subject: [PATCH 0/2] Remove unused declarations for iwlwifi

This series contains a few cleanup patches, to remove unused
declarations which have been removed. Thanks!

Gaosheng Cui (2):
iwlwifi: remove killer1650w_2ax_cfg and killer1650x_2ax_cfg
declarations
iwlwifi: remove unused no_sleep_autoadjust declaration

drivers/net/wireless/intel/iwlwifi/dvm/power.h | 2 --
drivers/net/wireless/intel/iwlwifi/iwl-config.h | 2 --
2 files changed, 4 deletions(-)

--
2.25.1


2022-09-11 09:06:47

by Gaosheng Cui

[permalink] [raw]
Subject: [PATCH 1/2] iwlwifi: remove killer1650w_2ax_cfg and killer1650x_2ax_cfg declarations

killer1650w_2ax_cfg and killer1650x_2ax_cfg have been removed since
commit 5e003982b07a ("iwlwifi: move AX200 devices to the new table"),
so remove them.

Signed-off-by: Gaosheng Cui <[email protected]>
---
drivers/net/wireless/intel/iwlwifi/iwl-config.h | 2 --
1 file changed, 2 deletions(-)

diff --git a/drivers/net/wireless/intel/iwlwifi/iwl-config.h b/drivers/net/wireless/intel/iwlwifi/iwl-config.h
index f5b556a103e8..dd30a997c172 100644
--- a/drivers/net/wireless/intel/iwlwifi/iwl-config.h
+++ b/drivers/net/wireless/intel/iwlwifi/iwl-config.h
@@ -620,8 +620,6 @@ extern const struct iwl_cfg killer1650s_2ax_cfg_qu_b0_hr_b0;
extern const struct iwl_cfg killer1650i_2ax_cfg_qu_b0_hr_b0;
extern const struct iwl_cfg killer1650s_2ax_cfg_qu_c0_hr_b0;
extern const struct iwl_cfg killer1650i_2ax_cfg_qu_c0_hr_b0;
-extern const struct iwl_cfg killer1650x_2ax_cfg;
-extern const struct iwl_cfg killer1650w_2ax_cfg;
extern const struct iwl_cfg iwl_qnj_b0_hr_b0_cfg;
extern const struct iwl_cfg iwlax210_2ax_cfg_so_jf_b0;
extern const struct iwl_cfg iwlax211_2ax_cfg_so_gf_a0;
--
2.25.1

2022-09-11 09:07:09

by Gaosheng Cui

[permalink] [raw]
Subject: [PATCH 2/2] iwlwifi: remove unused no_sleep_autoadjust declaration

no_sleep_autoadjust has been removed since
commit 84965795b290 ("iwlwifi: remove no_sleep_autoadjust"),
so remove it.

Signed-off-by: Gaosheng Cui <[email protected]>
---
drivers/net/wireless/intel/iwlwifi/dvm/power.h | 2 --
1 file changed, 2 deletions(-)

diff --git a/drivers/net/wireless/intel/iwlwifi/dvm/power.h b/drivers/net/wireless/intel/iwlwifi/dvm/power.h
index f38201ce1e99..1a688d942bca 100644
--- a/drivers/net/wireless/intel/iwlwifi/dvm/power.h
+++ b/drivers/net/wireless/intel/iwlwifi/dvm/power.h
@@ -23,6 +23,4 @@ int iwl_power_set_mode(struct iwl_priv *priv, struct iwl_powertable_cmd *cmd,
int iwl_power_update_mode(struct iwl_priv *priv, bool force);
void iwl_power_initialize(struct iwl_priv *priv);

-extern bool no_sleep_autoadjust;
-
#endif /* __iwl_power_setting_h__ */
--
2.25.1