Re: [PATCH] dmaengine: xilinx_dma: Remove set but unused ‘tail_desc’

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 21-05-19, 14:20, Radhey Shyam Pandey wrote:
> > -----Original Message-----
> > From: Vinod Koul <vkoul@xxxxxxxxxx>
> > Sent: Tuesday, May 21, 2019 7:41 PM
> > To: dmaengine@xxxxxxxxxxxxxxx
> > Cc: Vinod Koul <vkoul@xxxxxxxxxx>; Michal Simek <michals@xxxxxxxxxx>;
> > Radhey Shyam Pandey <radheys@xxxxxxxxxx>; Andrea Merello
> > <andrea.merello@xxxxxxxxx>; Appana Durga Kedareswara Rao
> > <appanad@xxxxxxxxxx>
> > Subject: [PATCH] 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.
> > 
> > Signed-off-by: Vinod Koul <vkoul@xxxxxxxxxx>
> 
> Reviewed-by: Radhey Shyam Pandey <radhey.shyam.pandey@xxxxxxxxxx>

Thanks applied now

-- 
~Vinod



[Index of Archives]     [Linux Kernel]     [Linux ARM (vger)]     [Linux ARM MSM]     [Linux Omap]     [Linux Arm]     [Linux Tegra]     [Fedora ARM]     [Linux for Samsung SOC]     [eCos]     [Linux PCI]     [Linux Fastboot]     [Gcc Help]     [Git]     [DCCP]     [IETF Announce]     [Security]     [Linux MIPS]     [Yosemite Campsites]

  Powered by Linux