Re: [PATCH] HID: Remove the unused variable minor

From: Jiri Kosina
Date: Fri Apr 12 2024 - 07:38:39 EST


On Sun, 7 Apr 2024, Jiapeng Chong wrote:

> Variable minor is not effectively used, so delete it.
>
> drivers/hid/hid-winwing.c:123:15: warning: variable 'minor' set but not used.
>
> Reported-by: Abaci Robot <abaci@xxxxxxxxxxxxxxxxx>
> Closes: https://bugzilla.openanolis.cn/show_bug.cgi?id=8705
> Signed-off-by: Jiapeng Chong <jiapeng.chong@xxxxxxxxxxxxxxxxx>

I've added

Fixes: 266c990debad2 ("HID: Add WinWing Orion2 throttle support")

CCed Ivan here, and applied. Thanks,

--
Jiri Kosina
SUSE Labs