diff options
author | Hans Verkuil <hverkuil@xs4all.nl> | 2008-11-01 12:25:11 +0100 |
---|---|---|
committer | Hans Verkuil <hverkuil@xs4all.nl> | 2008-11-01 12:25:11 +0100 |
commit | 13454bb6f15bcd4c753c79c7b0e173c41163c635 (patch) | |
tree | 158cb0d7e1b4a17d65d7e3c4074b2f30a3b44304 /linux/drivers/media/video/se401.c | |
parent | 9923a498d023c4ea6798835f3e74ae33e8c07f69 (diff) | |
download | mediapointer-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/se401.c')
-rw-r--r-- | linux/drivers/media/video/se401.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/linux/drivers/media/video/se401.c b/linux/drivers/media/video/se401.c index c4f83c5b3..8935c1632 100644 --- a/linux/drivers/media/video/se401.c +++ b/linux/drivers/media/video/se401.c @@ -983,8 +983,7 @@ static int se401_close(struct inode *inode, struct file *file) return 0; } -static int se401_do_ioctl(struct inode *inode, struct file *file, - unsigned int cmd, void *arg) +static int se401_do_ioctl(struct file *file, unsigned int cmd, void *arg) { struct video_device *vdev = file->private_data; struct usb_se401 *se401 = (struct usb_se401 *)vdev; @@ -1150,7 +1149,7 @@ static int se401_do_ioctl(struct inode *inode, struct file *file, static int se401_ioctl(struct inode *inode, struct file *file, unsigned int cmd, unsigned long arg) { - return video_usercopy(inode, file, cmd, arg, se401_do_ioctl); + return video_usercopy(file, cmd, arg, se401_do_ioctl); } static ssize_t se401_read(struct file *file, char __user *buf, |