summaryrefslogtreecommitdiffstats
path: root/sound/oss/sb_mixer.c
diff options
context:
space:
mode:
Diffstat (limited to 'sound/oss/sb_mixer.c')
-rw-r--r--sound/oss/sb_mixer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/oss/sb_mixer.c b/sound/oss/sb_mixer.c
index 238e2cf44b08..fad1a4f25ad6 100644
--- a/sound/oss/sb_mixer.c
+++ b/sound/oss/sb_mixer.c
@@ -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");
OpenPOWER on IntegriCloud