staging: mt7621-mmc: Remove unused variable dma_xfer from msdc_host
authorChristian Lütke-Stetzkamp <christian@lkamp.de>
Sun, 29 Apr 2018 17:32:30 +0000 (19:32 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 7 May 2018 02:08:06 +0000 (19:08 -0700)
The field dma_xfer of the struct msdc_host is not used anymore, remove
it.

Signed-off-by: Christian Lütke-Stetzkamp <christian@lkamp.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/mt7621-mmc/mt6575_sd.h
drivers/staging/mt7621-mmc/sd.c

index 195c7333f77d240a0800510bbbc9125404afa96c..aa7e9c250e025f4e7f26dc4b60d0934da5babb97 100644 (file)
@@ -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 */
index 95b5db80250abc4d41cc680d51f7daf4c027aee7..44d75f3f2c3e64c16aef377d292edd7690a3f400 100644 (file)
@@ -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();