Re: [PATCH] HID: nintendo: Remove unused function
From: Jiri Kosina
Date: Fri Apr 12 2024 - 07:41:06 EST
On Sun, 7 Apr 2024, Jiapeng Chong wrote:
> The function are defined in the hid-nintendo.c file, but not called
> elsewhere, so delete the unused function.
>
> drivers/hid/hid-nintendo.c:697:20: warning: unused function 'joycon_device_has_usb'.
>
> Reported-by: Abaci Robot <abaci@xxxxxxxxxxxxxxxxx>
> Closes: https://bugzilla.openanolis.cn/show_bug.cgi?id=8704
> Signed-off-by: Jiapeng Chong <jiapeng.chong@xxxxxxxxxxxxxxxxx>
Applied, thanks.
--
Jiri Kosina
SUSE Labs