]> Git Repo - linux.git/commitdiff
HID: remove no longer used hid->open field
authorDmitry Torokhov <[email protected]>
Wed, 7 Jun 2017 06:59:38 +0000 (23:59 -0700)
committerJiri Kosina <[email protected]>
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 <[email protected]>
Reviewed-by: Andy Shevchenko <[email protected]>
Reviewed-by: Benjamin Tissoires <[email protected]>
Signed-off-by: Jiri Kosina <[email protected]>
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 #) */
This page took 0.060364 seconds and 4 git commands to generate.