Merge branch 'upstream-fixes' of git://lost.foo-projects.org/~ahkok/git/netdev-2...
[powerpc.git] / sound / oss / opl3.c
index 4799bc7..2e8cfa5 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)
        {