From: Tony Lindgren Date: Tue, 4 Dec 2007 00:26:10 +0000 (-0800) Subject: ARM: OMAP: Remove unnecessary cast in gpio.c X-Git-Tag: v2.6.24-omap1~123 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=c7a6cbc01b955906e64f06ad2364098260c7341d;p=linux-2.6-omap-h63xx.git ARM: OMAP: Remove unnecessary cast in gpio.c Remove unnecessary cast in gpio.c Signed-off-by: Tony Lindgren --- diff --git a/arch/arm/plat-omap/dma.c b/arch/arm/plat-omap/dma.c index a3c5d4fe8e1..53f3c67f479 100644 --- a/arch/arm/plat-omap/dma.c +++ b/arch/arm/plat-omap/dma.c @@ -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;