Re: [PATCH] sound: pci: lx6464es: Remove unneeded variable err

From: Takashi Iwai
Date: Wed Jul 10 2019 - 05:49:35 EST


On Wed, 10 Jul 2019 04:30:59 +0200,
Hariprasad Kelam wrote:
>
> This patch fixes below issue reported by coccicheck
> sound/pci/lx6464es/lx6464es.c:256:5-8: Unneeded variable: "err". Return
> "0" on line 258
>
> We cannot change return value as its registered with snd_pcm_ops->close
>
> Signed-off-by: Hariprasad Kelam <hariprasad.kelam@xxxxxxxxx>

Applied, thanks.


Takashi