[PATCH v1] usb: remove not used variable in usb_ether_curr_dev

Marek Vasut marex at denx.de
Wed May 15 08:34:51 CEST 2024


On 5/15/24 8:24 AM, Heiko Schocher wrote:
> 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 at denx.de>

Reviewed-by: Marek Vasut <marex at denx.de>


More information about the U-Boot mailing list