ChangeSet 1.1119.3.9, 2003/09/05 15:47:32-07:00, [EMAIL PROTECTED]

[PATCH] USB: remove duplicated copy_from_user call in stv680 driver


 drivers/usb/stv680.c |    1 -
 1 files changed, 1 deletion(-)


diff -Nru a/drivers/usb/stv680.c b/drivers/usb/stv680.c
--- a/drivers/usb/stv680.c      Fri Sep  5 17:10:41 2003
+++ b/drivers/usb/stv680.c      Fri Sep  5 17:10:41 2003
@@ -1243,7 +1243,6 @@
                                PDEBUG (2, "STV(e): VIDIOCSPICT failed");
                                return -EFAULT;
                        }
-                       copy_from_user (&p, arg, sizeof (p));
                        PDEBUG (2, "STV(i): palette set to %i in VIDIOSPICT", 
p.palette);
 
                        if (stv680_set_pict (stv680, &p))



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to