diff options
Diffstat (limited to 'linux/drivers/media/video')
-rw-r--r-- | linux/drivers/media/video/v4l1-compat.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/linux/drivers/media/video/v4l1-compat.c b/linux/drivers/media/video/v4l1-compat.c index 253771b0b..c52df6cae 100644 --- a/linux/drivers/media/video/v4l1-compat.c +++ b/linux/drivers/media/video/v4l1-compat.c @@ -684,8 +684,6 @@ v4l_compat_translate_ioctl(struct inode *inode, if (ovl_err < 0) dprintk("VIDIOCSPICT / VIDIOC_S_FBUF: %d\n", ovl_err); - if (ovl_err == -EPERM) - ovl_err = 0; } if (ovl_err < 0 && mem_err < 0) /* ioctl failed, couldn't set either parameter */ |