All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/2] mmc: sdhci-esdhc-imx: remove unused is_imx6q_usdhc
@ 2021-06-01  9:54 ` Krzysztof Kozlowski
  0 siblings, 0 replies; 10+ messages in thread
From: Krzysztof Kozlowski @ 2021-06-01  9:54 UTC (permalink / raw)
  To: Adrian Hunter, Ulf Hansson, Shawn Guo, Sascha Hauer,
	Pengutronix Kernel Team, Fabio Estevam, NXP Linux Team,
	Orson Zhai, Baolin Wang, Chunyan Zhang, linux-mmc,
	linux-arm-kernel, linux-kernel
  Cc: Krzysztof Kozlowski, kernel test robot

The is_imx6q_usdhc() function is unused:

  drivers/mmc/host/sdhci-esdhc-imx.c:343:19: warning: unused function 'is_imx6q_usdhc'

Reported-by: kernel test robot <lkp@intel.com>
Fixes: f47c4bbfa283 ("mmc: sdhci-esdhc-imx: create struct esdhc_soc_data")
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
---
 drivers/mmc/host/sdhci-esdhc-imx.c | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/drivers/mmc/host/sdhci-esdhc-imx.c b/drivers/mmc/host/sdhci-esdhc-imx.c
index fba4a963d12e..7336ae749137 100644
--- a/drivers/mmc/host/sdhci-esdhc-imx.c
+++ b/drivers/mmc/host/sdhci-esdhc-imx.c
@@ -324,11 +324,6 @@ static inline int is_imx53_esdhc(struct pltfm_imx_data *data)
 	return data->socdata == &esdhc_imx53_data;
 }
 
-static inline int is_imx6q_usdhc(struct pltfm_imx_data *data)
-{
-	return data->socdata == &usdhc_imx6q_data;
-}
-
 static inline int esdhc_is_usdhc(struct pltfm_imx_data *data)
 {
 	return !!(data->socdata->flags & ESDHC_FLAG_USDHC);
-- 
2.27.0


^ permalink raw reply related	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2021-06-08 13:19 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-01  9:54 [PATCH 1/2] mmc: sdhci-esdhc-imx: remove unused is_imx6q_usdhc Krzysztof Kozlowski
2021-06-01  9:54 ` Krzysztof Kozlowski
2021-06-01  9:54 ` [PATCH 2/2] mmc: sdhci-sprd: use sdhci_sprd_writew Krzysztof Kozlowski
2021-06-01  9:54   ` Krzysztof Kozlowski
2021-06-08 13:16   ` Ulf Hansson
2021-06-08 13:16     ` Ulf Hansson
2021-06-01 11:59 ` [PATCH 1/2] mmc: sdhci-esdhc-imx: remove unused is_imx6q_usdhc Bough Chen
2021-06-01 11:59   ` Bough Chen
2021-06-08 13:16 ` Ulf Hansson
2021-06-08 13:16   ` Ulf Hansson

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.