summaryrefslogtreecommitdiff
path: root/arch/mips/kernel/apm.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/mips/kernel/apm.c')
-rw-r--r--arch/mips/kernel/apm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/kernel/apm.c b/arch/mips/kernel/apm.c
index 528e731049c1..ba16d07588cb 100644
--- a/arch/mips/kernel/apm.c
+++ b/arch/mips/kernel/apm.c
@@ -356,7 +356,7 @@ static int apm_open(struct inode * inode, struct file * filp)
{
struct apm_user *as;
- as = (struct apm_user *)kzalloc(sizeof(*as), GFP_KERNEL);
+ as = kzalloc(sizeof(*as), GFP_KERNEL);
if (as) {
/*
* XXX - this is a tiny bit broken, when we consider BSD