Re: [PATCH] HID: simplify code in fetch_item()

From: Benjamin Tissoires
Date: Fri Oct 04 2024 - 08:05:24 EST


On Tue, 01 Oct 2024 08:42:36 -0700, Dmitry Torokhov wrote:
> We can easily calculate the size of the item using arithmetic (shifts).
> This allows to pull duplicated code out of the switch statement, making
> it cleaner.
>
>

Applied to hid/hid.git (for-6.13/core), thanks!

[1/1] HID: simplify code in fetch_item()
https://git.kernel.org/hid/hid/c/61595012f280

Cheers,
--
Benjamin Tissoires <bentiss@xxxxxxxxxx>