]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - sound/oss/sb_mixer.c
sched: fix a bug in sched domain degenerate
[linux-2.6-omap-h63xx.git] / sound / oss / sb_mixer.c
index 238e2cf44b082bb1b702a3065baed77172d0c1b0..fad1a4f25ad6db0402de24f24f0c21e1be301c54 100644 (file)
@@ -734,7 +734,7 @@ int sb_mixer_init(sb_devc * devc, struct module *owner)
        if (m == -1)
                return 0;
 
-       mixer_devs[m] = (struct mixer_operations *)kmalloc(sizeof(struct mixer_operations), GFP_KERNEL);
+       mixer_devs[m] = kmalloc(sizeof(struct mixer_operations), GFP_KERNEL);
        if (mixer_devs[m] == NULL)
        {
                printk(KERN_ERR "sb_mixer: Can't allocate memory\n");