> -----Original Message----- > From: Krzysztof Kozlowski [mailto:krzysztof.kozlowski@xxxxxxxxxxxxx] > Sent: 2021年6月1日 17:54 > To: Adrian Hunter <adrian.hunter@xxxxxxxxx>; Ulf Hansson > <ulf.hansson@xxxxxxxxxx>; Shawn Guo <shawnguo@xxxxxxxxxx>; Sascha > Hauer <s.hauer@xxxxxxxxxxxxxx>; Pengutronix Kernel Team > <kernel@xxxxxxxxxxxxxx>; Fabio Estevam <festevam@xxxxxxxxx>; > dl-linux-imx <linux-imx@xxxxxxx>; Orson Zhai <orsonzhai@xxxxxxxxx>; > Baolin Wang <baolin.wang7@xxxxxxxxx>; Chunyan Zhang > <zhang.lyra@xxxxxxxxx>; linux-mmc@xxxxxxxxxxxxxxx; > linux-arm-kernel@xxxxxxxxxxxxxxxxxxx; linux-kernel@xxxxxxxxxxxxxxx > Cc: Krzysztof Kozlowski <krzysztof.kozlowski@xxxxxxxxxxxxx>; kernel test > robot <lkp@xxxxxxxxx> > Subject: [PATCH 1/2] mmc: sdhci-esdhc-imx: remove unused is_imx6q_usdhc > > The is_imx6q_usdhc() function is unused: > > drivers/mmc/host/sdhci-esdhc-imx.c:343:19: warning: unused function > 'is_imx6q_usdhc' Reviewed-by: Haibo Chen <haibo.chen@xxxxxxx> > > Reported-by: kernel test robot <lkp@xxxxxxxxx> > Fixes: f47c4bbfa283 ("mmc: sdhci-esdhc-imx: create struct esdhc_soc_data") > Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@xxxxxxxxxxxxx> > --- > 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
Attachment:
smime.p7s
Description: S/MIME cryptographic signature