diff options
| author | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2017-06-07 02:59:38 -0400 |
|---|---|---|
| committer | Jiri Kosina <jkosina@suse.cz> | 2017-06-08 07:56:10 -0400 |
| commit | 283a21da1239d8db7fdf6d9077feed73a6efffa2 (patch) | |
| tree | c63a90e68d64f40483086904a6bbf02203c8f6d8 /include/linux | |
| parent | d9d2401f59355264a435c723aadee5b84b75881b (diff) | |
HID: remove no longer used hid->open field
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>
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/hid.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/hid.h b/include/linux/hid.h index 5501eb64dbc4..72e8ac667771 100644 --- a/include/linux/hid.h +++ b/include/linux/hid.h | |||
| @@ -548,7 +548,6 @@ struct hid_device { /* device report descriptor */ | |||
| 548 | void *hiddev; /* The hiddev structure */ | 548 | void *hiddev; /* The hiddev structure */ |
| 549 | void *hidraw; | 549 | void *hidraw; |
| 550 | 550 | ||
| 551 | int open; /* is the device open by anyone? */ | ||
| 552 | char name[128]; /* Device name */ | 551 | char name[128]; /* Device name */ |
| 553 | char phys[64]; /* Device physical location */ | 552 | char phys[64]; /* Device physical location */ |
| 554 | char uniq[64]; /* Device unique identifier (serial #) */ | 553 | char uniq[64]; /* Device unique identifier (serial #) */ |
