aboutsummaryrefslogtreecommitdiffstats
path: root/sound
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@stusta.de>2006-11-07 07:42:54 -0500
committerJaroslav Kysela <perex@server.perex.cz>2006-12-20 02:55:46 -0500
commit0e5d720ced4111cc75dd8cf66ab7b68607a0b306 (patch)
tree7728f5e7e1928da2a95b41495df15e7667e35066 /sound
parentefeccac5b79d3569112c886396935ce574f6af9e (diff)
[ALSA] sound/core/control.c: remove dead code
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>
Diffstat (limited to 'sound')
-rw-r--r--sound/core/control.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/core/control.c b/sound/core/control.c
index 48ef0a09a7a7..0c7bcd62e5b2 100644
--- 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,
1275 schedule(); 1275 schedule();
1276 remove_wait_queue(&ctl->change_sleep, &wait); 1276 remove_wait_queue(&ctl->change_sleep, &wait);
1277 if (signal_pending(current)) 1277 if (signal_pending(current))
1278 return result > 0 ? result : -ERESTARTSYS; 1278 return -ERESTARTSYS;
1279 spin_lock_irq(&ctl->read_lock); 1279 spin_lock_irq(&ctl->read_lock);
1280 } 1280 }
1281 kev = snd_kctl_event(ctl->events.next); 1281 kev = snd_kctl_event(ctl->events.next);