Re: [PATCH] HID: sony: Fix unused function warning

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxx>

Thanks for fixing this, now applied.

-- 
Jiri Kosina
SUSE Labs




[Index of Archives]     [Linux Media Devel]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Linux Wireless Networking]     [Linux Omap]

  Powered by Linux