diff options
author | Mordechay Goodstein <[email protected]> | 2020-09-28 12:23:17 +0300 |
---|---|---|
committer | Luca Coelho <[email protected]> | 2020-10-01 21:59:36 +0300 |
commit | 4795983b870420d165e93d2111e3d1c0fef135f6 (patch) | |
tree | c4c519f8dce88d2be92f03ab842167e50439804b | |
parent | 507a13f5c9c9bc93813d1ef6985bdccf1e1b82e2 (diff) |
iwlwifi: acpi: in non acpi compilations remove iwl_sar_geo_init
In non acpi compilations iwl_sar_geo_init isn't called which results with
compilation warning so just remove the declaration.
Signed-off-by: Mordechay Goodstein <[email protected]>
Signed-off-by: Luca Coelho <[email protected]>
Link: https://lore.kernel.org/r/iwlwifi.20200928121852.3de51c557566.I67a0eedddbd56e51eb5150c65756eb5724b65e69@changeid
Signed-off-by: Luca Coelho <[email protected]>
-rw-r--r-- | drivers/net/wireless/intel/iwlwifi/fw/acpi.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/net/wireless/intel/iwlwifi/fw/acpi.h b/drivers/net/wireless/intel/iwlwifi/fw/acpi.h index 9d08d74e6939..71ef8647d7b5 100644 --- a/drivers/net/wireless/intel/iwlwifi/fw/acpi.h +++ b/drivers/net/wireless/intel/iwlwifi/fw/acpi.h @@ -269,12 +269,6 @@ static inline bool iwl_sar_geo_support(struct iwl_fw_runtime *fwrt) return false; } -static int iwl_sar_geo_init(struct iwl_fw_runtime *fwrt, - struct iwl_per_chain_offset *table, u32 n_bands) -{ - return -ENOENT; -} - static inline int iwl_acpi_get_tas(struct iwl_fw_runtime *fwrt, __le32 *black_list_array, int *black_list_size) |