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

staging: mt7621-mmc: Remove initialisation in msdc_dma_config

Current code initialises the variable sg at the beginning of the
msdc_dma_config function. This is not necessary, because the variable
is assigned by the for_each_sg macro later on.
Signed-off-by: default avatarChristian Lütke-Stetzkamp <christian@lkamp.de>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent f71774ac
...@@ -1091,7 +1091,7 @@ static int msdc_dma_config(struct msdc_host *host, struct msdc_dma *dma) ...@@ -1091,7 +1091,7 @@ static int msdc_dma_config(struct msdc_host *host, struct msdc_dma *dma)
void __iomem *base = host->base; void __iomem *base = host->base;
//u32 i, j, num, bdlen, arg, xfersz; //u32 i, j, num, bdlen, arg, xfersz;
u32 j, num; u32 j, num;
struct scatterlist *sg = dma->sg; struct scatterlist *sg;
struct gpd *gpd; struct gpd *gpd;
struct bd *bd; struct bd *bd;
......
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