[PATCH] getting rid of all casts of k[cmz]alloc() calls
[pandora-kernel.git] / drivers / video / matrox / i2c-matroxfb.c
index 797b423..fe28848 100644 (file)
@@ -146,7 +146,7 @@ static void* i2c_matroxfb_probe(struct matrox_fb_info* minfo) {
        unsigned long flags;
        struct matroxfb_dh_maven_info* m2info;
 
-       m2info = (struct matroxfb_dh_maven_info*)kmalloc(sizeof(*m2info), GFP_KERNEL);
+       m2info = kmalloc(sizeof(*m2info), GFP_KERNEL);
        if (!m2info)
                return NULL;