diff mbox series

[1/2] mmc: jz4740: remove unused struct component card_detect_irq

Message ID 415ea1cb85eedc12f0c2f70da9a1ae3885bdd091.1608714110.git.hns@goldelico.com
State New
Headers show
Series mmc: remove unused struct component card_detect_irq | expand

Commit Message

H. Nikolaus Schaller Dec. 23, 2020, 9:01 a.m. UTC
I have not found any user for this struct component.

Signed-off-by: H. Nikolaus Schaller <hns@goldelico.com>
---
 drivers/mmc/host/jz4740_mmc.c | 1 -
 1 file changed, 1 deletion(-)

Comments

Paul Cercueil Dec. 23, 2020, 12:51 p.m. UTC | #1
Hi,

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

Reviewed-by: Paul Cercueil <paul@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
>
Ulf Hansson Jan. 13, 2021, 11:25 a.m. UTC | #2
On Wed, 23 Dec 2020 at 10:05, H. Nikolaus Schaller <hns@goldelico.com> wrote:
>

> I have not found any user for this struct component.

>

> Signed-off-by: H. Nikolaus Schaller <hns@goldelico.com>


Applied for next, thanks!

Kind regards
Uffe


> ---

>  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

>
diff mbox series

Patch

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;