Hello, On Thu, Mar 07, 2024 at 06:17:34PM +0000, Colin Ian King wrote: > Currently the variable irqflags is being set but is not being used, > it appears it should be used in the call to net2272_probe_fin > rather than IRQF_TRIGGER_LOW being used. Kudos to Uwe Kleine-König > for suggesting the fix. > > Cleans up clang scan build warning: > drivers/usb/gadget/udc/net2272.c:2610:15: warning: variable 'irqflags' > set but not used [-Wunused-but-set-variable] > > Fixes: ceb80363b2ec ("USB: net2272: driver for PLX NET2272 USB device controller") > > Signed-off-by: Colin Ian King <colin.i.king@xxxxxxxxx> Acked-by: Uwe Kleine-König <u.kleine-koenig@xxxxxxxxxxxxxx> Suggested-by: Uwe Kleine-König <u.kleine-koenig@xxxxxxxxxxxxxx> Best regards Uwe -- Pengutronix e.K. | Uwe Kleine-König | Industrial Linux Solutions | https://www.pengutronix.de/ |
Attachment:
signature.asc
Description: PGP signature