[Letux-kernel] [PATCH 1/2] mmc: jz4740: remove unused struct component card_detect_irq

Paul Cercueil paul at crapouillou.net
Wed Dec 23 13:51:17 CET 2020


Hi,

Le mer. 23 déc. 2020 à 10:01, H. Nikolaus Schaller 
<hns at goldelico.com> a écrit :
> I have not found any user for this struct component.
> 
> Signed-off-by: H. Nikolaus Schaller <hns at goldelico.com>

Reviewed-by: Paul Cercueil <paul at crapouillou.net>

Cheers,
-Paul

> ---
>  drivers/mmc/host/jz4740_mmc.c | 1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/drivers/mmc/host/jz4740_mmc.c 
> b/drivers/mmc/host/jz4740_mmc.c
> index a1f92fed2a55b7..b3c636edbb4610 100644
> --- a/drivers/mmc/host/jz4740_mmc.c
> +++ b/drivers/mmc/host/jz4740_mmc.c
> @@ -152,7 +152,6 @@ struct jz4740_mmc_host {
>  	enum jz4740_mmc_version version;
> 
>  	int irq;
> -	int card_detect_irq;
> 
>  	void __iomem *base;
>  	struct resource *mem_res;
> --
> 2.26.2
> 




More information about the Letux-kernel mailing list