]> err.no Git - linux-2.6/commitdiff
[ARM] 4217/1: S3C24XX: remove the dma channel show at startup
authorBen Dooks <ben-linux@fluff.org>
Sat, 17 Feb 2007 13:02:37 +0000 (14:02 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Sat, 17 Feb 2007 15:00:30 +0000 (15:00 +0000)
Remove the DMA code's channel printing at startup
as this is firstly a waste of console output on
initialsaion, and secondly is going to be obsolete
once the S3C2443 DMA code has been merged

Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/plat-s3c24xx/dma.c

index 44e39438b9d8fee018cb2f6aeee424738c243e8d..929265aab7dd279807fdd2b495638c4cce9f16dd 100644 (file)
@@ -1426,22 +1426,8 @@ struct s3c2410_dma_chan *s3c2410_dma_map_channel(int channel)
        return dmach;
 }
 
-static void s3c24xx_dma_show_ch(struct s3c24xx_dma_map *map, int ch)
-{
-       /* show the channel configuration */
-
-       printk("%2d: %20s, channels %c%c%c%c\n", ch, map->name,
-              (is_channel_valid(map->channels[0]) ? '0' : '-'),
-              (is_channel_valid(map->channels[1]) ? '1' : '-'),
-              (is_channel_valid(map->channels[2]) ? '2' : '-'),
-              (is_channel_valid(map->channels[3]) ? '3' : '-'));
-}
-
 static int s3c24xx_dma_check_entry(struct s3c24xx_dma_map *map, int ch)
 {
-       if (1)
-               s3c24xx_dma_show_ch(map, ch);
-
        return 0;
 }