diff options
author | Benjamin Tissoires <[email protected]> | 2024-10-01 16:30:06 +0200 |
---|---|---|
committer | Benjamin Tissoires <[email protected]> | 2024-10-04 16:10:35 +0200 |
commit | 52cd1906ef6b93d638a78a34765c38c7edadd2ff (patch) | |
tree | 6d4b6ad6c7a1a22b5583fc057ab63ed8312393a1 /drivers/fpga/fpga-bridge.c | |
parent | 8b7fd6a15f8c32760c2026a62dcf55219b4da15b (diff) |
HID: core: save one kmemdup during .probe()
Turns out the first kmemdup is only required for the .report_fixup()
driver callback. There is no need to do two kmemdup() in a row in case
.report_fixup() is not present.
Reviewed-by: Peter Hutterer <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Benjamin Tissoires <[email protected]>
Diffstat (limited to 'drivers/fpga/fpga-bridge.c')
0 files changed, 0 insertions, 0 deletions