forked from Minki/linux
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:
parent
f3e1b5766c
commit
1668d5fc7b
@ -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 */
|
||||
|
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user