]> git.dujemihanovic.xyz Git - u-boot.git/commit
usb: remove not used variable in usb_ether_curr_dev
authorHeiko Schocher <hs@denx.de>
Wed, 15 May 2024 06:24:41 +0000 (08:24 +0200)
committerMarek Vasut <marex@denx.de>
Sat, 1 Jun 2024 19:42:09 +0000 (21:42 +0200)
commit8f8b4b0833fb8e890d053860ecf1c39d037c8039
treebea50348e8aba489897978dba249855f95654d65
parentea722aa5eb33740ae77e8816aeb72b385e621cd0
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>
cmd/usb.c