Skip to content

Commit

Permalink
iwlwifi: remove unnecessary IWL_DEVICE_AX200_COMMON definition
Browse files Browse the repository at this point in the history
Remove the IWL_DEVICE_AX200_COMMON definition, since it's only used
once and relies mostly on IWL_DEVICE_22000_COMMON anyway.

Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
  • Loading branch information
Luca Coelho committed Sep 6, 2019
1 parent a64d4e8 commit 2c0c024
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions drivers/net/wireless/intel/iwlwifi/cfg/22000.c
Original file line number Diff line number Diff line change
Expand Up @@ -188,10 +188,6 @@ static const struct iwl_ht_params iwl_22000_ht_params = {
.fw_mon_smem_cycle_cnt_ptr_addr = 0xa0c174, \
.fw_mon_smem_cycle_cnt_ptr_msk = 0xfffff

#define IWL_DEVICE_AX200_COMMON \
IWL_DEVICE_22000_COMMON, \
.umac_prph_offset = 0x300000

#define IWL_DEVICE_22500 \
IWL_DEVICE_22000_COMMON, \
.device_family = IWL_DEVICE_FAMILY_22000, \
Expand All @@ -206,7 +202,8 @@ static const struct iwl_ht_params iwl_22000_ht_params = {
.csr = &iwl_csr_v2

#define IWL_DEVICE_AX210 \
IWL_DEVICE_AX200_COMMON, \
IWL_DEVICE_22000_COMMON, \
.umac_prph_offset = 0x300000, \
.device_family = IWL_DEVICE_FAMILY_AX210, \
.base_params = &iwl_22560_base_params, \
.csr = &iwl_csr_v1, \
Expand Down

0 comments on commit 2c0c024

Please sign in to comment.