]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commitdiff
HID: remove no longer used hid->open field
authorDmitry Torokhov <dmitry.torokhov@gmail.com>
Wed, 7 Jun 2017 06:59:38 +0000 (23:59 -0700)
committerJiri Kosina <jkosina@suse.cz>
Thu, 8 Jun 2017 11:56:10 +0000 (13:56 +0200)
Now that all users have migrated to use hid->ll_open_count, we can remove
hid->open field.

Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Reviewed-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
include/linux/hid.h

index 5501eb64dbc400b2b9b37b3077523b5dd06ad692..72e8ac667771dfcfcd8118d93c70c311992c9e08 100644 (file)
@@ -548,7 +548,6 @@ struct hid_device {                                                 /* device report descriptor */
        void *hiddev;                                                   /* The hiddev structure */
        void *hidraw;
 
-       int open;                                                       /* is the device open by anyone? */
        char name[128];                                                 /* Device name */
        char phys[64];                                                  /* Device physical location */
        char uniq[64];                                                  /* Device unique identifier (serial #) */