Re: [PATCH 23/30] staging: mt7621-mmc: Remove initialisation in msdc_dma_config

2018-04-29 Thread NeilBrown
On Sun, Apr 29 2018, Christian Lütke-Stetzkamp wrote: > 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. But it isn't only used by the for_each_sg macro.

[PATCH 23/30] staging: mt7621-mmc: Remove initialisation in msdc_dma_config

2018-04-29 Thread Christian Lütke-Stetzkamp
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: Christian Lütke-Stetzkamp --- drivers/staging/mt7621-mmc/sd.c | 2 +- 1 file