summaryrefslogtreecommitdiff
path: root/drivers/dma/at_xdmac.c
diff options
context:
space:
mode:
authorColin Ian King <colin.king@canonical.com>2017-10-11 13:28:22 +0300
committerVinod Koul <vinod.koul@intel.com>2017-10-12 17:04:41 +0300
commitf2fd4d9f323d8979fe77e673bb555199b531fa1a (patch)
tree04dfe5b5bb594c2cfcad8f91404fa6c6d4140857 /drivers/dma/at_xdmac.c
parentea62e2ccbb18e8adc51a6591682e7efa7818478a (diff)
downloadlinux-f2fd4d9f323d8979fe77e673bb555199b531fa1a.tar.xz
dmaengine: stm32: remove redundant initialization of hwdesc
hwdesc is being initialized to desc->hwdesc but this is never read as hwdesc is overwritten in a for-loop. Remove the redundant initialization and move the declaration of hwdesc into the for-loop. Cleans up clang warning: Value stored to 'hwdesc' during its initialization is never read Signed-off-by: Colin Ian King <colin.king@canonical.com> Acked-by: Pierre-Yves MORDRET <pierre-yves.mordret@st.com> Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Diffstat (limited to 'drivers/dma/at_xdmac.c')
0 files changed, 0 insertions, 0 deletions