memory: tegra186-emc: drop unused to_tegra186_emc()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Krzysztof Kozlowski <krzysztof.kozlowski@xxxxxxxxxx>

commit 67dd9e861add38755a7c5d29e25dd0f6cb4116ab upstream.

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@xxxxxxxxxxxxxxx
Link: https://lore.kernel.org/r/20240812123055.124123-1-krzysztof.kozlowski@xxxxxxxxxx
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@xxxxxxxxxx>
Signed-off-by: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>
---
 drivers/memory/tegra/tegra186-emc.c |    5 -----
 1 file changed, 5 deletions(-)

--- 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
  *


Patches currently in stable-queue which might be from krzysztof.kozlowski@xxxxxxxxxx are

queue-6.6/net-hisilicon-hip04-fix-of-node-leak-in-probe.patch
queue-6.6/firmware-tegra-bpmp-drop-unused-mbox_client_to_bpmp.patch
queue-6.6/dt-bindings-clock-exynos7885-fix-duplicated-binding.patch
queue-6.6/asoc-codecs-wsa883x-handle-reading-version-failure.patch
queue-6.6/net-hisilicon-hns_mdio-fix-of-node-leak-in-probe.patch
queue-6.6/net-hisilicon-hns_dsaf_mac-fix-of-node-leak-in-hns_m.patch
queue-6.6/memory-tegra186-emc-drop-unused-to_tegra186_emc.patch




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux