aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/dma/ep93xx_dma.c
diff options
context:
space:
mode:
authorVinod Koul <vinod.koul@intel.com>2016-12-09 15:24:12 +0530
committerVinod Koul <vinod.koul@intel.com>2016-12-12 22:25:22 +0530
commite5a6b3d5deeee7b7b45fe8765b5e48033adc9e8a (patch)
treefaedfc4a95f49171a4de9eb0eb37864658af003f /drivers/dma/ep93xx_dma.c
parentdmaengine: usb-dmac: remove unused ‘uchan’ (diff)
downloadlinux-dev-e5a6b3d5deeee7b7b45fe8765b5e48033adc9e8a.tar.xz
linux-dev-e5a6b3d5deeee7b7b45fe8765b5e48033adc9e8a.zip
dmaengine: img-mdc: remove unused ‘prev_phys’
In mdc_prep_dma_memcpy(), mdc_prep_dma_cyclic() and mdc_prep_slave_sg() variable ‘prev_phys’ is initialized but never used, which leads to warning with W=1 drivers/dma/img-mdc-dma.c: In function ‘mdc_prep_dma_memcpy’: drivers/dma/img-mdc-dma.c:295:24: warning: variable ‘prev_phys’ set but not used [-Wunused-but-set-variable] dma_addr_t curr_phys, prev_phys; drivers/dma/img-mdc-dma.c: In function ‘mdc_prep_dma_cyclic’: drivers/dma/img-mdc-dma.c:378:24: warning: variable ‘prev_phys’ set but not used [-Wunused-but-set-variable] dma_addr_t curr_phys, prev_phys; drivers/dma/img-mdc-dma.c: In function ‘mdc_prep_slave_sg’: drivers/dma/img-mdc-dma.c:461:24: warning: variable ‘prev_phys’ set but not used [-Wunused-but-set-variable] dma_addr_t curr_phys, prev_phys; So remove it. Cc: Damien.Horsley <Damien.Horsley@imgtec.com> Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Diffstat (limited to 'drivers/dma/ep93xx_dma.c')
0 files changed, 0 insertions, 0 deletions