commit | 8f8b4b0833fb8e890d053860ecf1c39d037c8039 | [log] [tgz] |
---|---|---|
author | Heiko Schocher <hs@denx.de> | Wed May 15 08:24:41 2024 +0200 |
committer | Marek Vasut <marex@denx.de> | Sat Jun 01 21:42:09 2024 +0200 |
tree | bea50348e8aba489897978dba249855f95654d65 | |
parent | ea722aa5eb33740ae77e8816aeb72b385e621cd0 [diff] |
usb: remove not used variable in usb_ether_curr_dev grepping for usb_ether_curr_dev in u-boot source code shows $ grep -r usb_ether_curr_dev . ./cmd/usb.c:static int __maybe_unused usb_ether_curr_dev = -1; /* current ethernet device */ $ only declared but never used, so it can safely removed from code. Signed-off-by: Heiko Schocher <hs@denx.de> Reviewed-by: Marek Vasut <marex@denx.de>