Re: [PATCH 11/13] dmaengine: s3c24xx: remove unused ‘cdata’

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

 



On Fri, Dec 09, 2016 at 11:20:54PM +0530, Vinod Koul wrote:
> In s3c24xx_dma_get_phy(), variable ‘cdata’ is initialized but never used, which
> leads to warning with W=1. Removing this make pdata unused.
> 
> drivers/dma/s3c24xx-dma.c: In function ‘s3c24xx_dma_get_phy’:
> drivers/dma/s3c24xx-dma.c:293:30: warning: variable ‘cdata’ set but not used [-Wunused-but-set-variable]
>   struct s3c24xx_dma_channel *cdata;
> 
> So remove both of them.
> 
> Cc: Krzysztof Kozlowski <krzk@xxxxxxxxxx>
> Signed-off-by: Vinod Koul <vinod.koul@xxxxxxxxx>
> ---
>  drivers/dma/s3c24xx-dma.c | 5 -----
>  1 file changed, 5 deletions(-)
> 

Reviewed-by: Krzysztof Kozlowski <krzk@xxxxxxxxxx>

Best regards,
Krzysztof

--
To unsubscribe from this list: send the line "unsubscribe dmaengine" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[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