From: Christian Lütke-Stetzkamp Date: Sun, 29 Apr 2018 17:32:30 +0000 (+0200) Subject: staging: mt7621-mmc: Remove unused variable dma_xfer from msdc_host X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=eb7b0a9344afe278a91396c917da8f18709aed7f;p=openwrt%2Fstaging%2Fblogic.git 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: Christian Lütke-Stetzkamp Signed-off-by: Greg Kroah-Hartman --- 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();