OSDN Git Service

iwlwifi: acpi: in non acpi compilations remove iwl_sar_geo_init
authorMordechay Goodstein <mordechay.goodstein@intel.com>
Mon, 28 Sep 2020 09:23:17 +0000 (12:23 +0300)
committerLuca Coelho <luciano.coelho@intel.com>
Thu, 1 Oct 2020 18:59:36 +0000 (21:59 +0300)
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 <mordechay.goodstein@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Link: https://lore.kernel.org/r/iwlwifi.20200928121852.3de51c557566.I67a0eedddbd56e51eb5150c65756eb5724b65e69@changeid
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
drivers/net/wireless/intel/iwlwifi/fw/acpi.h

index 9d08d74..71ef864 100644 (file)
@@ -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)