staging: mt7621-mmc: Remove unused field mode from msdc_dma

The field mode of struct msdc_dma has no remaining use, so remove it.

Signed-off-by: Christian Lütke-Stetzkamp <christian@lkamp.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Christian Lütke-Stetzkamp 2018-06-16 16:14:48 +02:00 committed by Greg Kroah-Hartman
parent f3e1b5766c
commit 1668d5fc7b
2 changed files with 1 additions and 5 deletions

View File

@ -481,7 +481,6 @@ struct bd {
struct msdc_dma {
u32 sglen; /* size of scatter list */
struct scatterlist *sg; /* I/O scatter list */
u8 mode; /* dma mode */
struct gpd *gpd; /* pointer to gpd array */
struct bd *bd; /* pointer to bd array */

View File

@ -1091,10 +1091,7 @@ static void msdc_dma_setup(struct msdc_host *host, struct msdc_dma *dma,
dma->sg = sg;
dma->sglen = sglen;
dma->mode = MSDC_MODE_DMA_DESC;
N_MSG(DMA, "DMA mode<%d> sglen<%d> xfersz<%d>", dma->mode, dma->sglen,
host->xfer_size);
N_MSG(DMA, "DMA sglen<%d> xfersz<%d>", dma->sglen, host->xfer_size);
msdc_dma_config(host, dma);
}