From c7a6cbc01b955906e64f06ad2364098260c7341d Mon Sep 17 00:00:00 2001 From: Tony Lindgren Date: Mon, 3 Dec 2007 16:26:10 -0800 Subject: [PATCH] ARM: OMAP: Remove unnecessary cast in gpio.c Remove unnecessary cast in gpio.c Signed-off-by: Tony Lindgren --- arch/arm/plat-omap/dma.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.41.1