Commit eb7b0a93 authored by Christian Lütke-Stetzkamp's avatar Christian Lütke-Stetzkamp Committed by Greg Kroah-Hartman

staging: mt7621-mmc: Remove unused variable dma_xfer from msdc_host

The field dma_xfer of the struct msdc_host is not used anymore, remove
it.
Signed-off-by: default avatarChristian Lütke-Stetzkamp <christian@lkamp.de>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent bcdcbfd5
...@@ -922,7 +922,6 @@ struct msdc_host { ...@@ -922,7 +922,6 @@ struct msdc_host {
struct msdc_dma dma; /* dma channel */ struct msdc_dma dma; /* dma channel */
u32 dma_xfer_size; /* dma transfer size in bytes */ u32 dma_xfer_size; /* dma transfer size in bytes */
int dma_xfer; /* dma transfer mode */
u32 timeout_ns; /* data timeout ns */ u32 timeout_ns; /* data timeout ns */
u32 timeout_clks; /* data timeout clks */ u32 timeout_clks; /* data timeout clks */
......
...@@ -603,7 +603,7 @@ static void msdc_abort_data(struct msdc_host *host) ...@@ -603,7 +603,7 @@ static void msdc_abort_data(struct msdc_host *host)
void __iomem *base = host->base; void __iomem *base = host->base;
struct mmc_command *stop = host->mrq->stop; 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_reset_hw(host);
msdc_clr_fifo(); msdc_clr_fifo();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment