From 030274ae03c20f9ac27d4218118b9679d7c680d8 Mon Sep 17 00:00:00 2001 From: Ralf Baechle Date: Fri, 21 Oct 2005 22:26:07 +0100 Subject: Remove useless casts of kmalloc return values. Signed-off-by: Ralf Baechle --- arch/mips/au1000/common/dbdma.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'arch/mips/au1000/common') diff --git a/arch/mips/au1000/common/dbdma.c b/arch/mips/au1000/common/dbdma.c index a5a6709637e..d00e8247d6c 100644 --- a/arch/mips/au1000/common/dbdma.c +++ b/arch/mips/au1000/common/dbdma.c @@ -290,8 +290,7 @@ au1xxx_dbdma_chan_alloc(u32 srcid, u32 destid, /* If kmalloc fails, it is caught below same * as a channel not available. */ - ctp = (chan_tab_t *) - kmalloc(sizeof(chan_tab_t), GFP_KERNEL); + ctp = kmalloc(sizeof(chan_tab_t), GFP_KERNEL); chan_tab_ptr[i] = ctp; break; } -- cgit v1.2.3