diff options
author | Hariprasad Kelam <hariprasad.kelam@gmail.com> | 2019-07-10 08:00:59 +0530 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2019-07-10 11:53:03 +0200 |
commit | 7a3c2b69386102de9e78fa9ea679898f5502f77d (patch) | |
tree | 20f0b4e394f86772941e269d776e7b244dc059c0 /sound | |
parent | 0dcb4efb1095d0a1f5f681c2b94e98b009cc5d77 (diff) |
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>
Diffstat (limited to 'sound')
-rw-r--r-- | sound/pci/lx6464es/lx6464es.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sound/pci/lx6464es/lx6464es.c b/sound/pci/lx6464es/lx6464es.c index 1771a6dcbe18..583ca7384d83 100644 --- a/sound/pci/lx6464es/lx6464es.c +++ b/sound/pci/lx6464es/lx6464es.c @@ -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 |