summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/pwc/pwc-if.c
diff options
context:
space:
mode:
authorHans Verkuil <hverkuil@xs4all.nl>2008-11-01 12:25:11 +0100
committerHans Verkuil <hverkuil@xs4all.nl>2008-11-01 12:25:11 +0100
commit13454bb6f15bcd4c753c79c7b0e173c41163c635 (patch)
tree158cb0d7e1b4a17d65d7e3c4074b2f30a3b44304 /linux/drivers/media/video/pwc/pwc-if.c
parent9923a498d023c4ea6798835f3e74ae33e8c07f69 (diff)
downloadmediapointer-dvb-s2-13454bb6f15bcd4c753c79c7b0e173c41163c635.tar.gz
mediapointer-dvb-s2-13454bb6f15bcd4c753c79c7b0e173c41163c635.tar.bz2
v4l: remove inode argument from video_usercopy
From: Hans Verkuil <hverkuil@xs4all.nl> 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. Priority: normal Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Diffstat (limited to 'linux/drivers/media/video/pwc/pwc-if.c')
-rw-r--r--linux/drivers/media/video/pwc/pwc-if.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/linux/drivers/media/video/pwc/pwc-if.c b/linux/drivers/media/video/pwc/pwc-if.c
index 041bb96f7..d657e6f8d 100644
--- a/linux/drivers/media/video/pwc/pwc-if.c
+++ b/linux/drivers/media/video/pwc/pwc-if.c
@@ -1416,7 +1416,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;