From: Dmitry Torokhov Date: Wed, 7 Jun 2017 06:59:38 +0000 (-0700) Subject: HID: remove no longer used hid->open field X-Git-Tag: v4.13~330^2^4 X-Git-Url: https://git.proxmox.com/?a=commitdiff_plain;h=283a21da1239d8db7fdf6d9077feed73a6efffa2;p=mirror_ubuntu-bionic-kernel.git 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 Reviewed-by: Andy Shevchenko Reviewed-by: Benjamin Tissoires Signed-off-by: Jiri Kosina --- 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 */ 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 #) */