From: Takashi Sakamoto Date: Thu, 9 Feb 2023 00:25:48 +0000 (+0900) Subject: ALSA: ppc: fix unused function local variable X-Git-Tag: v6.6.7~3488^2~8 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=86bdfa267a222c85f95664208e039b94e2ac913b;p=platform%2Fkernel%2Flinux-starfive.git ALSA: ppc: fix unused function local variable The function local variable is not used anymore, while it is left. This commit deletes it. Fixes: 25a5a77ae0bc ("ALSA: core: Make snd_card_free() return void") Reported-by: Stephen Rothwell Link: https://lore.kernel.org/r/20230209104823.45899e76@canb.auug.org.au/ Cc: Uwe Kleine-König Signed-off-by: Takashi Sakamoto Link: https://lore.kernel.org/r/20230209002548.94496-1-o-takashi@sakamocchi.jp Signed-off-by: Takashi Iwai --- diff --git a/sound/ppc/snd_ps3.c b/sound/ppc/snd_ps3.c index 8d34923..a6cff2c 100644 --- a/sound/ppc/snd_ps3.c +++ b/sound/ppc/snd_ps3.c @@ -1046,7 +1046,6 @@ clean_open: /* called when module removal */ static void snd_ps3_driver_remove(struct ps3_system_bus_device *dev) { - int ret; pr_info("%s:start id=%d\n", __func__, dev->match_id); /*