diff options
Diffstat (limited to 'sound/core/oss/mixer_oss.c')
-rw-r--r-- | sound/core/oss/mixer_oss.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/sound/core/oss/mixer_oss.c b/sound/core/oss/mixer_oss.c index 5e6349f00ecd..056f8e274851 100644 --- a/sound/core/oss/mixer_oss.c +++ b/sound/core/oss/mixer_oss.c | |||
@@ -1212,10 +1212,8 @@ static void snd_mixer_oss_proc_write(struct snd_info_entry *entry, | |||
1212 | /* not changed */ | 1212 | /* not changed */ |
1213 | goto __unlock; | 1213 | goto __unlock; |
1214 | tbl = kmalloc(sizeof(*tbl), GFP_KERNEL); | 1214 | tbl = kmalloc(sizeof(*tbl), GFP_KERNEL); |
1215 | if (! tbl) { | 1215 | if (!tbl) |
1216 | pr_err("ALSA: mixer_oss: no memory\n"); | ||
1217 | goto __unlock; | 1216 | goto __unlock; |
1218 | } | ||
1219 | tbl->oss_id = ch; | 1217 | tbl->oss_id = ch; |
1220 | tbl->name = kstrdup(str, GFP_KERNEL); | 1218 | tbl->name = kstrdup(str, GFP_KERNEL); |
1221 | if (! tbl->name) { | 1219 | if (! tbl->name) { |