Commit 22ec8982 authored by Jiri Slaby (SUSE)'s avatar Jiri Slaby (SUSE) Committed by Jiri Kosina

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 3a370ca1
(HID: Prodikeys PC-MIDI HID Driver), but not used.

Drop them.

Found by https://github.com/jirislaby/clang-struct.
Signed-off-by: default avatarJiri Slaby (SUSE) <jirislaby@kernel.org>
Cc: Jiri Kosina <jikos@kernel.org>
Cc: Benjamin Tissoires <benjamin.tissoires@redhat.com>
Signed-off-by: default avatarJiri Kosina <jkosina@suse.com>
parent b9215e67
...@@ -66,9 +66,7 @@ struct pcmidi_snd { ...@@ -66,9 +66,7 @@ struct pcmidi_snd {
struct snd_card *card; struct snd_card *card;
struct snd_rawmidi *rwmidi; struct snd_rawmidi *rwmidi;
struct snd_rawmidi_substream *in_substream; struct snd_rawmidi_substream *in_substream;
struct snd_rawmidi_substream *out_substream;
unsigned long in_triggered; unsigned long in_triggered;
unsigned long out_active;
}; };
#define PK_QUIRK_NOGET 0x00010000 #define PK_QUIRK_NOGET 0x00010000
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment