[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <VI1PR04MB529444E439F50599339BA17E903E9@VI1PR04MB5294.eurprd04.prod.outlook.com>
Date: Tue, 1 Jun 2021 11:59:24 +0000
From: Bough Chen <haibo.chen@....com>
To: Krzysztof Kozlowski <krzysztof.kozlowski@...onical.com>,
Adrian Hunter <adrian.hunter@...el.com>,
Ulf Hansson <ulf.hansson@...aro.org>,
Shawn Guo <shawnguo@...nel.org>,
Sascha Hauer <s.hauer@...gutronix.de>,
Pengutronix Kernel Team <kernel@...gutronix.de>,
Fabio Estevam <festevam@...il.com>,
dl-linux-imx <linux-imx@....com>,
Orson Zhai <orsonzhai@...il.com>,
Baolin Wang <baolin.wang7@...il.com>,
Chunyan Zhang <zhang.lyra@...il.com>,
"linux-mmc@...r.kernel.org" <linux-mmc@...r.kernel.org>,
"linux-arm-kernel@...ts.infradead.org"
<linux-arm-kernel@...ts.infradead.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
CC: kernel test robot <lkp@...el.com>
Subject: RE: [PATCH 1/2] mmc: sdhci-esdhc-imx: remove unused is_imx6q_usdhc
> -----Original Message-----
> From: Krzysztof Kozlowski [mailto:krzysztof.kozlowski@...onical.com]
> Sent: 2021年6月1日 17:54
> To: Adrian Hunter <adrian.hunter@...el.com>; Ulf Hansson
> <ulf.hansson@...aro.org>; Shawn Guo <shawnguo@...nel.org>; Sascha
> Hauer <s.hauer@...gutronix.de>; Pengutronix Kernel Team
> <kernel@...gutronix.de>; Fabio Estevam <festevam@...il.com>;
> dl-linux-imx <linux-imx@....com>; Orson Zhai <orsonzhai@...il.com>;
> Baolin Wang <baolin.wang7@...il.com>; Chunyan Zhang
> <zhang.lyra@...il.com>; linux-mmc@...r.kernel.org;
> linux-arm-kernel@...ts.infradead.org; linux-kernel@...r.kernel.org
> Cc: Krzysztof Kozlowski <krzysztof.kozlowski@...onical.com>; kernel test
> robot <lkp@...el.com>
> 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@....com>
>
> Reported-by: kernel test robot <lkp@...el.com>
> Fixes: f47c4bbfa283 ("mmc: sdhci-esdhc-imx: create struct esdhc_soc_data")
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@...onical.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
Download attachment "smime.p7s" of type "application/pkcs7-signature" (9571 bytes)
Powered by blists - more mailing lists