]> git.baikalelectronics.ru Git - kernel.git/commit
staging: mt7621-mmc: Remove initialisation in msdc_dma_config
authorChristian Lütke-Stetzkamp <christian@lkamp.de>
Sun, 29 Apr 2018 17:32:36 +0000 (19:32 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 7 May 2018 02:08:07 +0000 (19:08 -0700)
commit8c5b99185c24a224e808609f866cb8b8fc27b78f
tree8d3f7449c6c06a65b6558eab8db213227acc1e0f
parent0a7efeb235af7dc3cff7c55cdab69220b794ae86
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: Christian Lütke-Stetzkamp <christian@lkamp.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/mt7621-mmc/sd.c