aboutsummaryrefslogtreecommitdiffstats
path: root/sound/oss/sb_common.c
diff options
context:
space:
mode:
Diffstat (limited to 'sound/oss/sb_common.c')
-rw-r--r--sound/oss/sb_common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/oss/sb_common.c b/sound/oss/sb_common.c
index 440537c72604..07cbacf63824 100644
--- a/sound/oss/sb_common.c
+++ b/sound/oss/sb_common.c
@@ -625,7 +625,7 @@ int sb_dsp_detect(struct address_info *hw_config, int pci, int pciio, struct sb_
625 */ 625 */
626 626
627 627
628 detected_devc = (sb_devc *)kmalloc(sizeof(sb_devc), GFP_KERNEL); 628 detected_devc = kmalloc(sizeof(sb_devc), GFP_KERNEL);
629 if (detected_devc == NULL) 629 if (detected_devc == NULL)
630 { 630 {
631 printk(KERN_ERR "sb: Can't allocate memory for device information\n"); 631 printk(KERN_ERR "sb: Can't allocate memory for device information\n");