[PATCH 09/15] mmc: bcm2835: remove unused host members

Stefan Wahren stefan.wahren at i2se.com
Tue Feb 7 12:45:48 PST 2017


Signed-off-by: Stefan Wahren <stefan.wahren at i2se.com>
---
 drivers/mmc/host/bcm2835.c |    4 ----
 1 file changed, 4 deletions(-)

diff --git a/drivers/mmc/host/bcm2835.c b/drivers/mmc/host/bcm2835.c
index 853fdcd..e64fcf2 100644
--- a/drivers/mmc/host/bcm2835.c
+++ b/drivers/mmc/host/bcm2835.c
@@ -178,7 +178,6 @@ struct bcm2835_host {
 	struct mmc_command	*cmd;		/* Current command */
 	struct mmc_data		*data;		/* Current data request */
 	bool			data_complete:1;/* Data finished before cmd */
-	bool			flush_fifo:1;	/* Drain the fifo when finish */
 	bool			use_busy:1;	/* Wait for busy interrupt */
 	bool			use_sbc:1;	/* Send CMD23 */
 
@@ -198,7 +197,6 @@ struct bcm2835_host {
 	u32			drain_offset;
 	bool			use_dma;
 
-	int	max_delay;	/* maximum length of time spent waiting */
 	u32	pio_limit;	/* Maximum block count for PIO (0 = DMA) */
 };
 
@@ -614,7 +612,6 @@ static void bcm2835_prepare_data(struct bcm2835_host *host,
 		return;
 
 	host->data_complete = false;
-	host->flush_fifo = false;
 	host->data->bytes_xfered = 0;
 
 	if (!host->dma_desc) {
@@ -1404,7 +1401,6 @@ static int bcm2835_probe(struct platform_device *pdev)
 	host->mmc = mmc;
 	host->pdev = pdev;
 	host->pio_limit = 1;
-	host->max_delay = 1; /* Warn if over 1ms */
 	spin_lock_init(&host->lock);
 
 	iomem = platform_get_resource(pdev, IORESOURCE_MEM, 0);
-- 
1.7.9.5




More information about the linux-rpi-kernel mailing list