diff options
author | Luca Coelho <luciano.coelho@intel.com> | 2018-08-16 09:01:31 +0300 |
---|---|---|
committer | Luca Coelho <luciano.coelho@intel.com> | 2018-12-14 13:04:46 +0200 |
commit | 4aeaccd6b5f05a20fd3154581f1ec2e6793cd998 (patch) | |
tree | b961ac5c3ebc951e5b01f703158c8e86b3c540e2 /drivers/net/wireless/intel/iwlwifi/cfg/9000.c | |
parent | iwlwifi: don't define OTP_LOW_IMAGE_SIZE per family, but per size (diff) | |
download | linux-dev-4aeaccd6b5f05a20fd3154581f1ec2e6793cd998.tar.xz linux-dev-4aeaccd6b5f05a20fd3154581f1ec2e6793cd998.zip |
iwlwifi: remove useless NVM_HW_SECTION_NUM_FAMILY_* macros
These macros are useless because each one of them is used only once
and the element they are assigned to is already pretty clear about
what they mean, "nvm_hw_section_num".
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Diffstat (limited to 'drivers/net/wireless/intel/iwlwifi/cfg/9000.c')
-rw-r--r-- | drivers/net/wireless/intel/iwlwifi/cfg/9000.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/net/wireless/intel/iwlwifi/cfg/9000.c b/drivers/net/wireless/intel/iwlwifi/cfg/9000.c index 1bc12f8b716d..b589b0e9d515 100644 --- a/drivers/net/wireless/intel/iwlwifi/cfg/9000.c +++ b/drivers/net/wireless/intel/iwlwifi/cfg/9000.c @@ -90,8 +90,6 @@ #define IWL9260B_MODULE_FIRMWARE(api) \ IWL9260B_FW_PRE __stringify(api) ".ucode" -#define NVM_HW_SECTION_NUM_FAMILY_9000 10 - static const struct iwl_base_params iwl9000_base_params = { .eeprom_size = OTP_LOW_IMAGE_SIZE_32K, .num_of_queues = 31, @@ -137,7 +135,7 @@ static const struct iwl_tt_params iwl9000_tt_params = { .device_family = IWL_DEVICE_FAMILY_9000, \ .base_params = &iwl9000_base_params, \ .led_mode = IWL_LED_RF_STATE, \ - .nvm_hw_section_num = NVM_HW_SECTION_NUM_FAMILY_9000, \ + .nvm_hw_section_num = 10, \ .non_shared_ant = ANT_B, \ .dccm_offset = IWL9000_DCCM_OFFSET, \ .dccm_len = IWL9000_DCCM_LEN, \ |