aboutsummaryrefslogtreecommitdiffstats
path: root/arch/mips/au1000
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2005-10-21 17:26:07 -0400
committerRalf Baechle <ralf@linux-mips.org>2005-10-29 14:32:50 -0400
commit030274ae03c20f9ac27d4218118b9679d7c680d8 (patch)
tree95e8ede01327367ce5a66b6dfc61c460c4284764 /arch/mips/au1000
parente5adb8770e12169a6595a3ad5682541441bd1052 (diff)
Remove useless casts of kmalloc return values.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/au1000')
-rw-r--r--arch/mips/au1000/common/dbdma.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/mips/au1000/common/dbdma.c b/arch/mips/au1000/common/dbdma.c
index a5a6709637e0..d00e8247d6c2 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,
290 /* If kmalloc fails, it is caught below same 290 /* If kmalloc fails, it is caught below same
291 * as a channel not available. 291 * as a channel not available.
292 */ 292 */
293 ctp = (chan_tab_t *) 293 ctp = kmalloc(sizeof(chan_tab_t), GFP_KERNEL);
294 kmalloc(sizeof(chan_tab_t), GFP_KERNEL);
295 chan_tab_ptr[i] = ctp; 294 chan_tab_ptr[i] = ctp;
296 break; 295 break;
297 } 296 }