projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
efeccac
)
[ALSA] sound/core/control.c: remove dead code
author
Adrian Bunk
<bunk@stusta.de>
Tue, 7 Nov 2006 12:42:54 +0000
(13:42 +0100)
committer
Jaroslav Kysela
<perex@server.perex.cz>
Wed, 20 Dec 2006 07:55:46 +0000
(08:55 +0100)
This patch removes some obviously dead code spotted by the Coverity
checker.
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
sound/core/control.c
patch
|
blob
|
history
diff --git
a/sound/core/control.c
b/sound/core/control.c
index 48ef0a09a7a71ad964aac00a79404945e6102d22..0c7bcd62e5b223f6c31f4328cd9baf376d700328 100644
(file)
--- a/
sound/core/control.c
+++ b/
sound/core/control.c
@@
-1275,7
+1275,7
@@
static ssize_t snd_ctl_read(struct file *file, char __user *buffer,
schedule();
remove_wait_queue(&ctl->change_sleep, &wait);
if (signal_pending(current))
- return
result > 0 ? result :
-ERESTARTSYS;
+ return -ERESTARTSYS;
spin_lock_irq(&ctl->read_lock);
}
kev = snd_kctl_event(ctl->events.next);