Commit 67dd9e86 authored by Krzysztof Kozlowski's avatar Krzysztof Kozlowski

memory: tegra186-emc: drop unused to_tegra186_emc()

to_tegra186_emc() is not used, W=1 builds:

  tegra186-emc.c:38:36: error: unused function 'to_tegra186_emc' [-Werror,-Wunused-function]

Fixes: 9a38cb27 ("memory: tegra: Add interconnect support for DRAM scaling in Tegra234")
Cc: stable@vger.kernel.org
Link: https://lore.kernel.org/r/20240812123055.124123-1-krzysztof.kozlowski@linaro.orgSigned-off-by: default avatarKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
parent 23a641d5
...@@ -35,11 +35,6 @@ struct tegra186_emc { ...@@ -35,11 +35,6 @@ struct tegra186_emc {
struct icc_provider provider; struct icc_provider provider;
}; };
static inline struct tegra186_emc *to_tegra186_emc(struct icc_provider *provider)
{
return container_of(provider, struct tegra186_emc, provider);
}
/* /*
* debugfs interface * debugfs interface
* *
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment