]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
ARM: OMAP: Remove unnecessary cast in gpio.c
authorTony Lindgren <tony@atomide.com>
Tue, 4 Dec 2007 00:26:10 +0000 (16:26 -0800)
committerTony Lindgren <tony@atomide.com>
Wed, 5 Dec 2007 22:38:33 +0000 (14:38 -0800)
Remove unnecessary cast in gpio.c

Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/plat-omap/dma.c

index a3c5d4fe8e1e0e1b46730392a023276c796624f0..53f3c67f4790d2600d20201af787635779daa538 100644 (file)
@@ -1075,7 +1075,7 @@ int omap_request_dma_chain(int dev_id, const char *dev_name,
 
        /* Allocate a queue to maintain the status of the channels
         * in the chain */
-       channels = (int *)kmalloc(sizeof(*channels) * no_of_chans, GFP_KERNEL);
+       channels = kmalloc(sizeof(*channels) * no_of_chans, GFP_KERNEL);
        if (channels == NULL) {
                printk(KERN_ERR "omap_dma: No memory for channel queue\n");
                return -ENOMEM;