projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
25a5a77
)
ALSA: ppc: fix unused function local variable
author
Takashi Sakamoto
<o-takashi@sakamocchi.jp>
Thu, 9 Feb 2023 00:25:48 +0000
(09:25 +0900)
committer
Takashi Iwai
<tiwai@suse.de>
Thu, 9 Feb 2023 07:04:36 +0000
(08:04 +0100)
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 <sfr@canb.auug.org.au>
Link:
https://lore.kernel.org/r/20230209104823.45899e76@canb.auug.org.au/
Cc: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Link:
https://lore.kernel.org/r/20230209002548.94496-1-o-takashi@sakamocchi.jp
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/ppc/snd_ps3.c
patch
|
blob
|
history
diff --git
a/sound/ppc/snd_ps3.c
b/sound/ppc/snd_ps3.c
index 8d349231205e75071b6c5f7f445d0d2d96f6dbf6..a6cff2c46ac7e70953b7290350688bb3a5b18dc7 100644
(file)
--- 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);
/*