ALSA: lx6464es: Remove unneeded variable err

This patch fixes below issue reported by coccicheck
sound/pci/lx6464es/lx6464es.c:256:5-8: Unneeded variable: "err". Return
"0" on line 258

Signed-off-by: Hariprasad Kelam <hariprasad.kelam@gmail.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
This commit is contained in:
Hariprasad Kelam 2019-07-10 08:00:59 +05:30 committed by Takashi Iwai
parent 0dcb4efb10
commit 7a3c2b6938
1 changed files with 1 additions and 2 deletions

View File

@ -253,9 +253,8 @@ exit:
static int lx_pcm_close(struct snd_pcm_substream *substream)
{
int err = 0;
dev_dbg(substream->pcm->card->dev, "->lx_pcm_close\n");
return err;
return 0;
}
static snd_pcm_uframes_t lx_pcm_stream_pointer(struct snd_pcm_substream