projects
/
linux-2.6-block.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0dcb4ef
)
ALSA: lx6464es: Remove unneeded variable err
author
Hariprasad Kelam
<hariprasad.kelam@gmail.com>
Wed, 10 Jul 2019 02:30:59 +0000
(08:00 +0530)
committer
Takashi Iwai
<tiwai@suse.de>
Wed, 10 Jul 2019 09:53:03 +0000
(11:53 +0200)
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>
sound/pci/lx6464es/lx6464es.c
patch
|
blob
|
blame
|
history
diff --git
a/sound/pci/lx6464es/lx6464es.c
b/sound/pci/lx6464es/lx6464es.c
index 1771a6dcbe18bbf7f78052e1ef311e2ce1cd4918..583ca7384d8311c5a8810124c7904c97539fdcaf 100644
(file)
--- 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