summaryrefslogtreecommitdiff
path: root/sound/core/jack.c
diff options
context:
space:
mode:
Diffstat (limited to 'sound/core/jack.c')
-rw-r--r--sound/core/jack.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/core/jack.c b/sound/core/jack.c
index 7160c260d06c..5e8a2f3f4196 100644
--- a/sound/core/jack.c
+++ b/sound/core/jack.c
@@ -440,7 +440,7 @@ static struct snd_jack_kctl * snd_jack_kctl_new(struct snd_card *card, const cha
if (err < 0)
return NULL;
- jack_kctl = kzalloc_obj(*jack_kctl, GFP_KERNEL);
+ jack_kctl = kzalloc_obj(*jack_kctl);
if (!jack_kctl)
goto error;
@@ -516,7 +516,7 @@ int snd_jack_new(struct snd_card *card, const char *id, int type,
return -ENOMEM;
}
- jack = kzalloc_obj(struct snd_jack, GFP_KERNEL);
+ jack = kzalloc_obj(struct snd_jack);
if (jack == NULL)
return -ENOMEM;