commit | 72da1f20afae1bd3f7ee4a27b2b8cda8838d61ef | [log] [tgz] |
---|---|---|
author | Dan Carpenter <dan.carpenter@oracle.com> | Wed Mar 21 02:35:23 2012 -0300 |
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | Tue Apr 10 15:43:39 2012 -0300 |
tree | 977ad75bfeb9cebfa143811ceb35b14515b30949 | |
parent | 004ac38859c5bbcc4ffccc37d33be5e467d61c28 [diff] |
[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>