iwlwifi: remove unnecessary IWL_DEVICE_AX200_COMMON definition
authorLuca Coelho <luciano.coelho@intel.com>
Wed, 10 Jul 2019 12:00:18 +0000 (15:00 +0300)
committerLuca Coelho <luciano.coelho@intel.com>
Fri, 6 Sep 2019 12:31:21 +0000 (15:31 +0300)
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>
drivers/net/wireless/intel/iwlwifi/cfg/22000.c

index 8ecdaabf710b399dfaa416d97396c1202ef9830a..fd4bc43d87340fdcdd1fdffef04d70f2b74f7b8a 100644 (file)
@@ -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,                       \
@@ -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,                                             \