mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 10:41:38 -04:00
[media] v4l2-core: remove the old .ioctl BKL replacement
To keep V4L2 drivers that did not yet convert to unlocked_ioctl happy, the v4l2 core had a .ioctl file operation that took a V4L2 lock. The last drivers are now converted to unlocked_ioctl, so all this old code can now be removed. Signed-off-by: Hans Verkuil <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
This commit is contained in:
parent
06e5cc3d0d
commit
5cf6f7f327
4 changed files with 0 additions and 32 deletions
|
|
@ -65,7 +65,6 @@ struct v4l2_file_operations {
|
|||
ssize_t (*read) (struct file *, char __user *, size_t, loff_t *);
|
||||
ssize_t (*write) (struct file *, const char __user *, size_t, loff_t *);
|
||||
unsigned int (*poll) (struct file *, struct poll_table_struct *);
|
||||
long (*ioctl) (struct file *, unsigned int, unsigned long);
|
||||
long (*unlocked_ioctl) (struct file *, unsigned int, unsigned long);
|
||||
#ifdef CONFIG_COMPAT
|
||||
long (*compat_ioctl32) (struct file *, unsigned int, unsigned long);
|
||||
|
|
|
|||
|
|
@ -58,8 +58,6 @@ struct v4l2_device {
|
|||
struct v4l2_ctrl_handler *ctrl_handler;
|
||||
/* Device's priority state */
|
||||
struct v4l2_prio_state prio;
|
||||
/* BKL replacement mutex. Temporary solution only. */
|
||||
struct mutex ioctl_lock;
|
||||
/* Keep track of the references to this struct. */
|
||||
struct kref ref;
|
||||
/* Release function that is called when the ref count goes to 0. */
|
||||
|
|
|
|||
Loading…
Reference in a new issue