Commit 7a3c2b69 authored by Hariprasad Kelam's avatar Hariprasad Kelam Committed by Takashi Iwai

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: default avatarHariprasad Kelam <hariprasad.kelam@gmail.com>
Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent 0dcb4efb
......@@ -253,9 +253,8 @@ static int lx_pcm_open(struct snd_pcm_substream *substream)
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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment