commit | 030274ae03c20f9ac27d4218118b9679d7c680d8 | [log] [tgz] |
---|---|---|
author | Ralf Baechle <ralf@linux-mips.org> | Fri Oct 21 22:26:07 2005 +0100 |
committer | Ralf Baechle <ralf@linux-mips.org> | Sat Oct 29 19:32:50 2005 +0100 |
tree | 95e8ede01327367ce5a66b6dfc61c460c4284764 | |
parent | e5adb8770e12169a6595a3ad5682541441bd1052 [diff] |
Remove useless casts of kmalloc return values. Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
diff --git a/arch/mips/kernel/irixelf.c b/arch/mips/kernel/irixelf.c index 5aeacc1..99262fe 100644 --- a/arch/mips/kernel/irixelf.c +++ b/arch/mips/kernel/irixelf.c
@@ -422,9 +422,7 @@ if (*name != NULL) goto out; - *name = (char *) kmalloc((epp->p_filesz + - strlen(IRIX_EMUL)), - GFP_KERNEL); + *name = kmalloc(epp->p_filesz + strlen(IRIX_EMUL), GFP_KERNEL); if (!*name) return -ENOMEM;