lkml.org 
[lkml]   [2022]   [Dec]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] HID: sony: Fix unused function warning
On Mon, 28 Nov 2022, José Expósito wrote:

> Compiling this driver without setting "CONFIG_SONY_FF" generates the
> following warning:
>
> drivers/hid/hid-sony.c:2358:20: warning: unused function
> 'sony_send_output_report' [-Wunused-function]
> static inline void sony_send_output_report(struct sony_sc *sc)
> ^
> 1 warning generated.
>
> Add the missing preprocessor check to fix it.
>
> Signed-off-by: José Expósito <jose.exposito89@gmail.com>

Thanks for fixing this, now applied.

--
Jiri Kosina
SUSE Labs

\
 
 \ /
  Last update: 2023-03-26 23:16    [W:0.025 / U:0.340 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site