Pull bugzilla-7897 into release branch
[sfrench/cifs-2.6.git] / sound / oss / sb_common.c
index 440537c72604f467bdf359414d216fc5c8662546..07cbacf63824602d3a2763984efc3368c5c0f4ad 100644 (file)
@@ -625,7 +625,7 @@ int sb_dsp_detect(struct address_info *hw_config, int pci, int pciio, struct sb_
         */
 
 
-       detected_devc = (sb_devc *)kmalloc(sizeof(sb_devc), GFP_KERNEL);
+       detected_devc = kmalloc(sizeof(sb_devc), GFP_KERNEL);
        if (detected_devc == NULL)
        {
                printk(KERN_ERR "sb: Can't allocate memory for device information\n");