Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 209301
b: refs/heads/master
c: c6d7ba8
h: refs/heads/master
i:
  209299: 09ca235
v: v3
  • Loading branch information
Frederic Weisbecker committed Aug 13, 2010
1 parent d1a7ae2 commit 9e29dbc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 02d6d685fc6f2d8b48b133b5a5a43755e005074e
refs/heads/master: c6d7ba8b12636923f3e30997dec69bed58e176b6
7 changes: 1 addition & 6 deletions trunk/drivers/media/video/v4l2-compat-ioctl32.c
Original file line number Diff line number Diff line change
Expand Up @@ -228,11 +228,6 @@ static long native_ioctl(struct file *file, unsigned int cmd, unsigned long arg)

if (file->f_op->unlocked_ioctl)
ret = file->f_op->unlocked_ioctl(file, cmd, arg);
else if (file->f_op->ioctl) {
lock_kernel();
ret = file->f_op->ioctl(file->f_path.dentry->d_inode, file, cmd, arg);
unlock_kernel();
}

return ret;
}
Expand Down Expand Up @@ -973,7 +968,7 @@ long v4l2_compat_ioctl32(struct file *file, unsigned int cmd, unsigned long arg)
{
long ret = -ENOIOCTLCMD;

if (!file->f_op->ioctl && !file->f_op->unlocked_ioctl)
if (!file->f_op->unlocked_ioctl)
return ret;

switch (cmd) {
Expand Down

0 comments on commit 9e29dbc

Please sign in to comment.