diff options
| author | Jiri Slaby (SUSE) <[email protected]> | 2024-02-01 11:53:20 +0000 |
|---|---|---|
| committer | Jiri Kosina <[email protected]> | 2024-02-13 10:43:55 +0000 |
| commit | 16d0e1d469cc16aefa8ef745e926eda473a9b221 (patch) | |
| tree | a0d1d47c5c7de4d78f7f0085df5971be976e742c /net/nsh/nsh.c | |
| parent | HID: hid-prodikeys: remove unused struct pcmidi_snd members (diff) | |
| download | kernel-16d0e1d469cc16aefa8ef745e926eda473a9b221.tar.gz kernel-16d0e1d469cc16aefa8ef745e926eda473a9b221.zip | |
HID: hid-prodikeys: remove struct pk_device
First, quirks was unused in struct pk_device.
And I see no reason for this additional level of indirection. struct
pcmidi_snd is far enough for the driver. Unless I am missing something?
So drop struct pk_device and convert all the users to use struct
pcmidi_snd directly. No need for doubled kmalloc+kfrees now.
Found by https://github.com/jirislaby/clang-struct.
Signed-off-by: Jiri Slaby (SUSE) <[email protected]>
Cc: Jiri Kosina <[email protected]>
Cc: Benjamin Tissoires <[email protected]>
Signed-off-by: Jiri Kosina <[email protected]>
Diffstat (limited to 'net/nsh/nsh.c')
0 files changed, 0 insertions, 0 deletions
