summaryrefslogtreecommitdiff
path: root/arch/arm/mach-s3c24xx/dma.c
diff options
context:
space:
mode:
authorHeiko Stuebner <heiko@sntech.de>2013-05-20 16:01:41 (GMT)
committerKukjin Kim <kgene.kim@samsung.com>2013-05-20 16:01:41 (GMT)
commita496bda66201e855f6b5d5d701d8bd65b9178700 (patch)
tree04f7d2a215a35a577dc2cfa984aa25921dfe685a /arch/arm/mach-s3c24xx/dma.c
parente8de5a1fa9101a6aa22b2cbdde058979664b2474 (diff)
downloadlinux-a496bda66201e855f6b5d5d701d8bd65b9178700.tar.xz
ARM: S3C24XX: remove obsolete s3c2412 specific dma settings
The s3c2412 dma init contained code to handle dma-direction specific settings. As now all s3c2412-dma-channels are direction-independent this is not needed anymore. As the s3c2412 also was the only user of this, it can go away completely. Signed-off-by: Heiko Stuebner <heiko@sntech.de> Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
Diffstat (limited to 'arch/arm/mach-s3c24xx/dma.c')
-rw-r--r--arch/arm/mach-s3c24xx/dma.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/arch/arm/mach-s3c24xx/dma.c b/arch/arm/mach-s3c24xx/dma.c
index aab6490..4a65cba 100644
--- a/arch/arm/mach-s3c24xx/dma.c
+++ b/arch/arm/mach-s3c24xx/dma.c
@@ -1159,9 +1159,6 @@ int s3c2410_dma_devconfig(enum dma_ch channel,
return -EINVAL;
}
- if (dma_sel.direction != NULL)
- (dma_sel.direction)(chan, chan->map, source);
-
return 0;
}