[alsa-devel] [PATCH] sound: ppc: snd_ps3: Remove Unneeded variable: "ret"

Takashi Iwai tiwai at suse.de
Wed Jul 10 11:56:25 CEST 2019


On Wed, 10 Jul 2019 04:39:46 +0200,
Hariprasad Kelam wrote:
> 
> This patch fixes below issue reported by coccicheck
> sound/ppc/snd_ps3.c:631:5-8: Unneeded variable: "ret". Return "0" on
> line 668
> 
> We cannot change return type of snd_ps3_pcm_trigger as it is registered
> with snd_pcm_ops->trigger
> 
> Signed-off-by: Hariprasad Kelam <hariprasad.kelam at gmail.com>

Applied (with the correction of the description again).


thanks,

Takashi


More information about the Alsa-devel mailing list