summaryrefslogtreecommitdiff
path: root/drivers/memory/tegra
diff options
context:
space:
mode:
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>2024-08-12 14:30:55 +0200
committerKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>2024-08-14 16:16:41 +0200
commit67dd9e861add38755a7c5d29e25dd0f6cb4116ab (patch)
tree5c568b50e6f308cc9b79586cc8c2592486343996 /drivers/memory/tegra
parent23a641d5c2bce4c723fff9118a5d865ee6b9d05a (diff)
downloadlwn-67dd9e861add38755a7c5d29e25dd0f6cb4116ab.tar.gz
lwn-67dd9e861add38755a7c5d29e25dd0f6cb4116ab.zip
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: 9a38cb27668e ("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.org Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Diffstat (limited to 'drivers/memory/tegra')
-rw-r--r--drivers/memory/tegra/tegra186-emc.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/memory/tegra/tegra186-emc.c b/drivers/memory/tegra/tegra186-emc.c
index 57d9ae12fcfe..33d67d251719 100644
--- a/drivers/memory/tegra/tegra186-emc.c
+++ b/drivers/memory/tegra/tegra186-emc.c
@@ -35,11 +35,6 @@ struct tegra186_emc {
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
*