This commit was manufactured by cvs2svn to create tag
[linux-2.6.git] / sound / core / control.c
index c39afa6..7cc1939 100644 (file)
@@ -1137,16 +1137,15 @@ static ssize_t snd_ctl_read(struct file *file, char __user *buffer, size_t count
                kfree(kev);
                if (copy_to_user(buffer, &ev, sizeof(snd_ctl_event_t))) {
                        err = -EFAULT;
-                       goto out;
+                       goto __end;
                }
                spin_lock_irq(&ctl->read_lock);
                buffer += sizeof(snd_ctl_event_t);
                count -= sizeof(snd_ctl_event_t);
                result += sizeof(snd_ctl_event_t);
        }
-__end:
+      __end:
        spin_unlock_irq(&ctl->read_lock);
-out:
        return result > 0 ? result : err;
 }