summaryrefslogtreecommitdiffstats
path: root/drivers/mfd/rsmu_spi.c
diff options
context:
space:
mode:
authorPaulo Miguel Almeida <paulo.miguel.almeida.rodenas@gmail.com>2022-10-24 13:57:42 +1300
committerJiri Kosina <jkosina@suse.cz>2022-10-24 15:28:35 +0200
commit6a4628997cfcc1eb1e34943f011d85bae36eadbc (patch)
treeab729f45a32b1d6404c2027b9c36274f75c56820 /drivers/mfd/rsmu_spi.c
parent542f25a94471570e2594be5b422b9ca572cf88a1 (diff)
downloadlinux-6a4628997cfcc1eb1e34943f011d85bae36eadbc.tar.gz
linux-6a4628997cfcc1eb1e34943f011d85bae36eadbc.tar.bz2
linux-6a4628997cfcc1eb1e34943f011d85bae36eadbc.zip
HID: hyperv: remove unused struct synthhid_msg
struct synthhid_msg was meant to be a generic representation of the possible protocol messages sent through VMBus. In practice, only the header is read and depending on the message type, a cast to the actual type is done. Also, SYNTHHID_MAX_INPUT_REPORT_SIZE constant isn't used which I suspect is a leftover from the refactoring made while this driver was at the staging folder. This patch removes struct synthhid_msg and refactor the code accordingly. Signed-off-by: Paulo Miguel Almeida <paulo.miguel.almeida.rodenas@gmail.com> Reviewed-by: Michael Kelley <mikelley@microsoft.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'drivers/mfd/rsmu_spi.c')
0 files changed, 0 insertions, 0 deletions