[AGPGART] allow drm populated agp memory types cleanups
[linux-drm-fsl-dcu.git] / arch / mips / kernel / apm.c
index 528e731049c123c2a77886d573a2001458405901..ba16d07588cb88ad540d04ab307df20cd3d2283c 100644 (file)
@@ -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