[PATCH] getting rid of all casts of k[cmz]alloc() calls
[linux-2.6-block.git] / sound / oss / opl3.c
index 4799bc77f987223308da7adc3aa22bae581122b7..2e8cfa5481f28c4e1e7d7f2d40b5326538bd02d7 100644 (file)
@@ -166,7 +166,7 @@ int opl3_detect(int ioaddr, int *osp)
                return 0;
        }
 
-       devc = (struct opl_devinfo *)kmalloc(sizeof(*devc), GFP_KERNEL);
+       devc = kmalloc(sizeof(*devc), GFP_KERNEL);
 
        if (devc == NULL)
        {