V4L/DVB (9503): v4l: remove inode argument from video_usercopy
The inode argument was never used. Removing it from video_usercopy brings the function pointer type of video_usercopy in line with similar v4l2 functions, thus simplifying several drivers. Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
This commit is contained in:

committed by
Mauro Carvalho Chehab

parent
bef216b7ed
commit
f473bf76c7
@@ -1412,7 +1412,7 @@ static int pwc_video_ioctl(struct inode *inode, struct file *file,
|
||||
|
||||
mutex_lock(&pdev->modlock);
|
||||
if (!pdev->unplugged)
|
||||
r = video_usercopy(inode, file, cmd, arg, pwc_video_do_ioctl);
|
||||
r = video_usercopy(file, cmd, arg, pwc_video_do_ioctl);
|
||||
mutex_unlock(&pdev->modlock);
|
||||
out:
|
||||
return r;
|
||||
|
Reference in New Issue
Block a user