From 9fea3a799dde140f2d75eeb4560a5c3237ca991d Mon Sep 17 00:00:00 2001 From: Simon Glass Date: Fri, 5 May 2023 20:03:03 -0600 Subject: usb: Tidy up the usb_start flag This should be declared in a header file so that type-checking works correctly. Add a single declaration to usb.h and remove the others. Signed-off-by: Simon Glass Reviewed-by: Marek Vasut Reviewed-by: Patrick Delaunay --- cmd/usb.c | 1 - 1 file changed, 1 deletion(-) (limited to 'cmd') diff --git a/cmd/usb.c b/cmd/usb.c index 73addb04c49..61937283840 100644 --- a/cmd/usb.c +++ b/cmd/usb.c @@ -620,7 +620,6 @@ static int do_usb(struct cmd_tbl *cmdtp, int flag, int argc, char *const argv[]) { struct usb_device *udev = NULL; int i; - extern char usb_started; if (argc < 2) return CMD_RET_USAGE; -- cgit v1.2.3