[PATCH 17/30] staging: mt7621-mmc: Remove unused variable dma_xfer from msdc_host

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The field dma_xfer of the struct msdc_host is not used anymore, remove
it.

Signed-off-by: Christian Lütke-Stetzkamp <christian@xxxxxxxx>
---
 drivers/staging/mt7621-mmc/mt6575_sd.h | 1 -
 drivers/staging/mt7621-mmc/sd.c        | 2 +-
 2 files changed, 1 insertion(+), 2 deletions(-)

diff --git a/drivers/staging/mt7621-mmc/mt6575_sd.h b/drivers/staging/mt7621-mmc/mt6575_sd.h
index 195c7333f77d..aa7e9c250e02 100644
--- a/drivers/staging/mt7621-mmc/mt6575_sd.h
+++ b/drivers/staging/mt7621-mmc/mt6575_sd.h
@@ -922,7 +922,6 @@ struct msdc_host {
 
 	struct msdc_dma             dma;            /* dma channel */
 	u32                         dma_xfer_size;  /* dma transfer size in bytes */
-	int                         dma_xfer;       /* dma transfer mode */
 
 	u32                         timeout_ns;     /* data timeout ns */
 	u32                         timeout_clks;   /* data timeout clks */
diff --git a/drivers/staging/mt7621-mmc/sd.c b/drivers/staging/mt7621-mmc/sd.c
index 95b5db80250a..44d75f3f2c3e 100644
--- a/drivers/staging/mt7621-mmc/sd.c
+++ b/drivers/staging/mt7621-mmc/sd.c
@@ -603,7 +603,7 @@ static void msdc_abort_data(struct msdc_host *host)
 	void __iomem *base = host->base;
 	struct mmc_command *stop = host->mrq->stop;
 
-	ERR_MSG("Need to Abort. dma<%d>", host->dma_xfer);
+	ERR_MSG("Need to Abort.");
 
 	msdc_reset_hw(host);
 	msdc_clr_fifo();
-- 
2.16.1

_______________________________________________
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxx
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel




[Index of Archives]     [Linux Driver Backports]     [DMA Engine]     [Linux GPIO]     [Linux SPI]     [Video for Linux]     [Linux USB Devel]     [Linux Coverity]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux