summaryrefslogtreecommitdiffstats
path: root/arch/mips/kernel
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2005-10-21 23:26:07 +0200
committerRalf Baechle <ralf@linux-mips.org>2005-10-29 20:32:50 +0200
commit030274ae03c20f9ac27d4218118b9679d7c680d8 (patch)
tree95e8ede01327367ce5a66b6dfc61c460c4284764 /arch/mips/kernel
parentHack to resolve longstanding prefetch issue (diff)
downloadlinux-030274ae03c20f9ac27d4218118b9679d7c680d8.tar.xz
linux-030274ae03c20f9ac27d4218118b9679d7c680d8.zip
Remove useless casts of kmalloc return values.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/kernel')
-rw-r--r--arch/mips/kernel/irixelf.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/arch/mips/kernel/irixelf.c b/arch/mips/kernel/irixelf.c
index 5aeacc1ffb24..99262fe64560 100644
--- a/arch/mips/kernel/irixelf.c
+++ b/arch/mips/kernel/irixelf.c
@@ -422,9 +422,7 @@ static inline int look_for_irix_interpreter(char **name,
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;