diff options
author | Vinod Koul <vinod.koul@intel.com> | 2016-12-09 15:24:12 +0530 |
---|---|---|
committer | Vinod Koul <vinod.koul@intel.com> | 2016-12-12 22:25:22 +0530 |
commit | 2a440bd417a57d26453c361951052656e4c837b1 (patch) | |
tree | 1a6a2f75ffd4ff4dc579d3c1fc06cd174712d47a /drivers/dma/ioat | |
parent | 1bc4f06c24a0fccd2ff9d81ca4b2ee4d3acb7fbb (diff) | |
download | linux-2a440bd417a57d26453c361951052656e4c837b1.tar.bz2 |
dmaengine: stm32-dma: remove unused ‘dst_addr’
In stm32_dma_set_xfer_param(), variable ‘dst_addr’ is initialized but never used, which
leads to warning with W=1
drivers/dma/stm32-dma.c: In function ‘stm32_dma_set_xfer_param’:
drivers/dma/stm32-dma.c:577:23: warning: variable ‘dst_addr’ set but not used [-Wunused-but-set-variable]
dma_addr_t src_addr, dst_addr;
So remove it.
Reviewed-by: M'boumba Cedric Madianga <cedric.madianga@gmail.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Diffstat (limited to 'drivers/dma/ioat')
0 files changed, 0 insertions, 0 deletions