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

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
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -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