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

From: Paul Cercueil
Date: Wed Dec 23 2020 - 07:52:28 EST


Hi,

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

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

Reviewed-by: Paul Cercueil <paul@xxxxxxxxxxxxxxx>

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