ARM: S3C24XX: don't use uninitialized variable in dma.c
authorWolfram Sang <w.sang@pengutronix.de>
Fri, 8 Jul 2011 05:33:02 +0000 (14:33 +0900)
committerKukjin Kim <kgene.kim@samsung.com>
Fri, 8 Jul 2011 05:33:47 +0000 (14:33 +0900)
commit5838e9b8dada491278db48ff9162e25125fa89d6
treea0c07eaea5e2f083a64918473346fdabf3b939c5
parent5f27275edb7082505eaac1c85a15620207351b63
ARM: S3C24XX: don't use uninitialized variable in dma.c

Commit 8970ef47 (S3C24XX: Remove hardware specific registers from DMA
calls) removed the parameter dcon in s3c2410_dma_config() and calculates
it on its own. So the debug-output for the old parameter can go, too.
Fixes:

arch/arm/plat-s3c24xx/dma.c: In function 's3c2410_dma_config':
arch/arm/plat-s3c24xx/dma.c:1030:2: warning: 'dcon' is used uninitialized in this function

Signed-off-by: Wolfram Sang <w.sang@pengutronix.de>
Cc: Ben Dooks <ben-linux@fluff.org>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
arch/arm/plat-s3c24xx/dma.c