aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/greybus/audio_helper.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/staging/greybus/audio_helper.c')
-rw-r--r--drivers/staging/greybus/audio_helper.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/staging/greybus/audio_helper.c b/drivers/staging/greybus/audio_helper.c
index 8b100a71f02e..237531ba60f3 100644
--- a/drivers/staging/greybus/audio_helper.c
+++ b/drivers/staging/greybus/audio_helper.c
@@ -173,8 +173,7 @@ static int gbaudio_remove_controls(struct snd_card *card, struct device *dev,
id.index = control->index;
kctl = snd_ctl_find_id(card, &id);
if (!kctl) {
- dev_err(dev, "%d: Failed to find %s\n", err,
- control->name);
+ dev_err(dev, "Failed to find %s\n", control->name);
continue;
}
err = snd_ctl_remove(card, kctl);