diff options
author | Vinod Koul <vinod.koul@intel.com> | 2016-12-09 12:54:12 +0300 |
---|---|---|
committer | Vinod Koul <vinod.koul@intel.com> | 2016-12-12 19:55:22 +0300 |
commit | 963173fe4875d77320360628f827b0a818d6772e (patch) | |
tree | 91b48cf04a36a59da69a6d3229a9e50decab8c1a /scripts/show_delta | |
parent | cad0eca39fc001e17d422f08e64d67c6f9155cbe (diff) | |
download | linux-963173fe4875d77320360628f827b0a818d6772e.tar.xz |
dmaengine: s3c24xx: remove unused ‘cdata’
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.
Reviewed-by: Krzysztof Kozlowski <krzk@kernel.org>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Diffstat (limited to 'scripts/show_delta')
0 files changed, 0 insertions, 0 deletions