This commit was manufactured by cvs2svn to create tag
[linux-2.6.git] / sound / core / seq / seq_clientmgr.c
index dd7650d..b30fda8 100644 (file)
@@ -420,10 +420,7 @@ static ssize_t snd_seq_read(struct file *file, char __user *buf, size_t count, l
                        count -= err;
                        buf += err;
                } else {
-                       if (copy_to_user(buf, &cell->event, sizeof(snd_seq_event_t))) {
-                               err = -EFAULT;
-                               break;
-                       }
+                       copy_to_user(buf, &cell->event, sizeof(snd_seq_event_t));
                        count -= sizeof(snd_seq_event_t);
                        buf += sizeof(snd_seq_event_t);
                }