summaryrefslogtreecommitdiffstats
path: root/common
diff options
context:
space:
mode:
authorRouven Czerwinski <r.czerwinski@pengutronix.de>2021-06-17 19:00:19 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2021-06-21 06:34:08 +0200
commited44c386eb24782755a171720f7d3dc34776d9fa (patch)
treeb78f0037c6c70b855dff4bf522ca01195fa8a3ff /common
parentcee2e7acd1119dcbb123c903a5555ef660e7d643 (diff)
downloadbarebox-ed44c386eb24782755a171720f7d3dc34776d9fa.tar.gz
barebox-ed44c386eb24782755a171720f7d3dc34776d9fa.tar.xz
usb: usb251xb: remove >=0 check for u32 port
The compiler rightfully complains: drivers/usb/misc/usb251xb.c: In function ‘usb251xb_get_ofdata’: drivers/usb/misc/usb251xb.c:563:13: warning: comparison of unsigned expression in ‘>= 0’ is always true [-Wtype-limits] 563 | if ((port >= 0) && (port <= data->port_cnt)) so drop the check. Signed-off-by: Rouven Czerwinski <r.czerwinski@pengutronix.de> Link: https://lore.barebox.org/20210617170018.42823-1-r.czerwinski@pengutronix.de Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'common')
0 files changed, 0 insertions, 0 deletions