]> git.karo-electronics.de Git - mv-sheeva.git/blobdiff - drivers/video/matrox/i2c-matroxfb.c
[PATCH] getting rid of all casts of k[cmz]alloc() calls
[mv-sheeva.git] / drivers / video / matrox / i2c-matroxfb.c
index 797b42305b0ff4f2e4485799e5e2ed0e9470acdb..fe28848e7b52e201f128d58b56f1a50c23a23526 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;