diff options
author | Jiri Slaby (SUSE) <jirislaby@kernel.org> | 2024-02-01 14:53:19 +0300 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.com> | 2024-02-13 13:43:55 +0300 |
commit | 22ec8982dcf6059944bc2ee811d5758e3c60d649 (patch) | |
tree | 0d8796278c92704fe2bba7c53f66502ecb804800 | |
parent | b9215e677dcc40d3d8704308c881b2db6179dc73 (diff) | |
download | linux-22ec8982dcf6059944bc2ee811d5758e3c60d649.tar.xz |
HID: hid-prodikeys: remove unused struct pcmidi_snd members
struct pcmidi_snd contains two unused members: out_substream and
out_active. They were added along the driver in commit 3a370ca1dcf8
(HID: Prodikeys PC-MIDI HID Driver), but not used.
Drop them.
Found by https://github.com/jirislaby/clang-struct.
Signed-off-by: Jiri Slaby (SUSE) <jirislaby@kernel.org>
Cc: Jiri Kosina <jikos@kernel.org>
Cc: Benjamin Tissoires <benjamin.tissoires@redhat.com>
Signed-off-by: Jiri Kosina <jkosina@suse.com>
-rw-r--r-- | drivers/hid/hid-prodikeys.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/hid/hid-prodikeys.c b/drivers/hid/hid-prodikeys.c index c16d2ba6ea16..439f4320f1d2 100644 --- a/drivers/hid/hid-prodikeys.c +++ b/drivers/hid/hid-prodikeys.c @@ -66,9 +66,7 @@ struct pcmidi_snd { struct snd_card *card; struct snd_rawmidi *rwmidi; struct snd_rawmidi_substream *in_substream; - struct snd_rawmidi_substream *out_substream; unsigned long in_triggered; - unsigned long out_active; }; #define PK_QUIRK_NOGET 0x00010000 |