Skip to content

HID: unused struct members cleanup

Jiri Slaby (SUSE) linux-input lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest7 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7HID: apple: remove unused members from struct apple_sc_backlightdrivers/hid/hid-apple.c+0 -11 reply
2/7HID: wacom: remove unused hid_data::pressuredrivers/hid/wacom_wac.h+0 -11 reply
3/7HID: protect hid_device::bpf by CONFIG_HID_BPFinclude/linux/hid.h+2 -20 replies
4/7HID: hid-lg3ff: remove unused struct lg3ff_devicedrivers/hid/hid-lg3ff.c+0 -40 replies
5/7HID: hid-multitouch: remove unused mt_application::dev_timedrivers/hid/hid-multitouch.c+0 -10 replies
6/7HID: hid-prodikeys: remove unused struct pcmidi_snd membersdrivers/hid/hid-prodikeys.c+0 -20 replies
7/7HID: hid-prodikeys: remove struct pk_devicedrivers/hid/hid-prodikeys.c+40 -730 replies

Reviews trailers per patch

1 of 7 patches has a Reviewed-by or Acked-by.

PatchPing Cheng
1/7
2/7A-b
3/7
4/7
5/7
6/7
7/7

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/7] HID: unused struct members cleanup

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(-)
Signature · 1 line
2.43.0