OSDN Git Service

dmaengine: xilinx_dma: Remove set but unused ‘tail_desc’
authorVinod Koul <vkoul@kernel.org>
Tue, 21 May 2019 14:06:44 +0000 (19:36 +0530)
committerVinod Koul <vkoul@kernel.org>
Wed, 22 May 2019 05:15:04 +0000 (10:45 +0530)
commitf935d7dc8125e231e3e1620d97b2367b008889f4
tree60826664c197b352c7e0e0ef0d18904ae2a1eab6
parentb5d89905d0391de2f0e04b709ab60eee6cf76a6e
dmaengine: xilinx_dma: Remove set but unused ‘tail_desc’

We get a compiler warn about variable ‘tail_desc’ set but not used

drivers/dma/xilinx/xilinx_dma.c:1102:42: warning:
variable ‘tail_desc’ set but not used [-Wunused-but-set-variable]
  struct xilinx_dma_tx_descriptor *desc, *tail_desc;

So remove it.

Reviewed-by: Radhey Shyam Pandey <radhey.shyam.pandey@xilinx.com>
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/dma/xilinx/xilinx_dma.c