]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blobdiff - drivers/char/synclink.c
[PATCH] getting rid of all casts of k[cmz]alloc() calls
[mirror_ubuntu-artful-kernel.git] / drivers / char / synclink.c
index acc6fab601ccaa6f592052595a3587810607c522..3fa625db9e4b133b6caf258ed442d2675dad18c5 100644 (file)
@@ -4332,7 +4332,7 @@ static struct mgsl_struct* mgsl_allocate_device(void)
 {
        struct mgsl_struct *info;
        
-       info = (struct mgsl_struct *)kmalloc(sizeof(struct mgsl_struct),
+       info = kmalloc(sizeof(struct mgsl_struct),
                 GFP_KERNEL);
                 
        if (!info) {