linux-input.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/7] HID: unused struct members cleanup
@ 2024-02-01 11:53 Jiri Slaby (SUSE)
  2024-02-01 11:53 ` [PATCH 1/7] HID: apple: remove unused members from struct apple_sc_backlight Jiri Slaby (SUSE)
                   ` (7 more replies)
  0 siblings, 8 replies; 11+ messages in thread
From: Jiri Slaby (SUSE) @ 2024-02-01 11:53 UTC (permalink / raw)
  To: jikos; +Cc: linux-input, linux-kernel, Jiri Slaby (SUSE)

Hi,

the patches deal with unused members of structures as found by
clang-struct.

Sometimes even whole structures are removed.

Jiri Slaby (SUSE) (7):
  HID: apple: remove unused members from struct apple_sc_backlight
  HID: wacom: remove unused hid_data::pressure
  HID: protect hid_device::bpf by CONFIG_HID_BPF
  HID: hid-lg3ff: remove unused struct lg3ff_device
  HID: hid-multitouch: remove unused mt_application::dev_time
  HID: hid-prodikeys: remove unused struct pcmidi_snd members
  HID: hid-prodikeys: remove struct pk_device

 drivers/hid/hid-apple.c      |   1 -
 drivers/hid/hid-lg3ff.c      |   4 --
 drivers/hid/hid-multitouch.c |   1 -
 drivers/hid/hid-prodikeys.c  | 115 ++++++++++++-----------------------
 drivers/hid/wacom_wac.h      |   1 -
 include/linux/hid.h          |   4 +-
 6 files changed, 42 insertions(+), 84 deletions(-)

-- 
2.43.0


^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2024-02-14 12:54 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-02-01 11:53 [PATCH 0/7] HID: unused struct members cleanup Jiri Slaby (SUSE)
2024-02-01 11:53 ` [PATCH 1/7] HID: apple: remove unused members from struct apple_sc_backlight Jiri Slaby (SUSE)
2024-02-14 12:54   ` Aditya Garg
2024-02-01 11:53 ` [PATCH 2/7] HID: wacom: remove unused hid_data::pressure Jiri Slaby (SUSE)
2024-02-02  2:30   ` Ping Cheng
2024-02-01 11:53 ` [PATCH 3/7] HID: protect hid_device::bpf by CONFIG_HID_BPF Jiri Slaby (SUSE)
2024-02-01 11:53 ` [PATCH 4/7] HID: hid-lg3ff: remove unused struct lg3ff_device Jiri Slaby (SUSE)
2024-02-01 11:53 ` [PATCH 5/7] HID: hid-multitouch: remove unused mt_application::dev_time Jiri Slaby (SUSE)
2024-02-01 11:53 ` [PATCH 6/7] HID: hid-prodikeys: remove unused struct pcmidi_snd members Jiri Slaby (SUSE)
2024-02-01 11:53 ` [PATCH 7/7] HID: hid-prodikeys: remove struct pk_device Jiri Slaby (SUSE)
2024-02-13 10:44 ` [PATCH 0/7] HID: unused struct members cleanup Jiri Kosina

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).