[media] uvcvideo: remove unneeded access_ok() check
authorDan Carpenter <dan.carpenter@oracle.com>
Wed, 21 Mar 2012 05:35:23 +0000 (02:35 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Tue, 10 Apr 2012 18:43:39 +0000 (15:43 -0300)
commit72da1f20afae1bd3f7ee4a27b2b8cda8838d61ef
tree977ad75bfeb9cebfa143811ceb35b14515b30949
parent004ac38859c5bbcc4ffccc37d33be5e467d61c28
[media] uvcvideo: remove unneeded access_ok() check

copy_in_user() already checks for write permission, so we don't need to
do it here.  This was added in 1a5e4c867c "[media] uvcvideo: Implement
compat_ioctl32 for custom ioctls".

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/uvc/uvc_v4l2.c