diff options
| author | Kedareswara rao Appana <[email protected]> | 2018-01-03 06:42:10 +0000 |
|---|---|---|
| committer | Vinod Koul <[email protected]> | 2018-01-08 10:54:50 +0000 |
| commit | 4b597c634a2a8fbc8ecbdaf7c2b4c8bb68cfba20 (patch) | |
| tree | 618940f991bcc54ba98fbf67033b821a082bbeae /drivers/fpga/fpga-mgr.c | |
| parent | dmaengine: xilinx_dma: properly configure the SG mode bit in the driver for cdma (diff) | |
| download | kernel-4b597c634a2a8fbc8ecbdaf7c2b4c8bb68cfba20.tar.gz kernel-4b597c634a2a8fbc8ecbdaf7c2b4c8bb68cfba20.zip | |
dmaengine: xilinx_dma: Fix warning variable prev set but not used
This patch fixes the below sparse warning in the driver
drivers/dma/xilinx/xilinx_dma.c: In function ‘xilinx_vdma_dma_prep_interleaved’:
drivers/dma/xilinx/xilinx_dma.c:1614:43: warning: variable ‘prev’ set but not used [-Wunused-but-set-variable]
struct xilinx_vdma_tx_segment *segment, *prev = NULL;
Signed-off-by: Kedareswara rao Appana <[email protected]>
Signed-off-by: Vinod Koul <[email protected]>
Diffstat (limited to 'drivers/fpga/fpga-mgr.c')
0 files changed, 0 insertions, 0 deletions
