[PATCH] usb: usb251xb: remove duplicate status line on probe success
Ahmad Fatoum
a.fatoum at pengutronix.de
Mon May 23 00:21:25 PDT 2022
A successful probe results in two lines logged:
usb251xb usb2514b0: Hub configuration was successful.
usb251xb usb2514b0: Hub probed successfully
There is no case where the first line is printed, but not the other and
they say about the same thing anyway, so drop the latter.
Signed-off-by: Ahmad Fatoum <a.fatoum at pengutronix.de>
---
drivers/usb/misc/usb251xb.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/drivers/usb/misc/usb251xb.c b/drivers/usb/misc/usb251xb.c
index 4871faf451ce..8d60f19e1355 100644
--- a/drivers/usb/misc/usb251xb.c
+++ b/drivers/usb/misc/usb251xb.c
@@ -639,8 +639,6 @@ static int usb251xb_probe(struct usb251xb *hub)
return err;
}
- dev_info(dev, "Hub probed successfully\n");
-
return 0;
}
--
2.30.2
More information about the barebox
mailing list