Re: linux-next: build warning after merge of the usb tree

Greg KH
2025-05-23T12:50:21Z

On Fri, May 23, 2025 at 03:09:34PM +1000, Stephen Rothwell wrote:
> Hi all,
>
> After merging the usb tree, today's linux-next build (arm
> multi_v7_defconfig) produced this warning:
>
> drivers/usb/misc/onboard_usb_dev.c:358:12: warning: 'onboard_dev_5744_i2c_write_byte' defined but not used [-Wunused-function]
> 358 | static int onboard_dev_5744_i2c_write_byte(struct i2c_client *client, u16 addr, u8 data)
> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> drivers/usb/misc/onboard_usb_dev.c:313:12: warning: 'onboard_dev_5744_i2c_read_byte' defined but not used [-Wunused-function]
> 313 | static int onboard_dev_5744_i2c_read_byte(struct i2c_client *client, u16 addr, u8 *data)
> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>
> Introduced by commit
>
> 1143d41922c0 ("usb: misc: onboard_usb_dev: Fix usb5744 initialization sequence")

Should now be fixed, thanks!

greg k-h