From: Bin Meng Date: Sun, 1 Oct 2017 13:19:43 +0000 (-0700) Subject: dm: usb: Remove no longer needed blk_unbind_all() X-Git-Url: http://git.dujemihanovic.xyz/login.html?a=commitdiff_plain;h=ad0a9378bf5cc9280e117b7db94b6bfa1b6e8e76;p=u-boot.git dm: usb: Remove no longer needed blk_unbind_all() With the root hub unbinding in usb_stop(), there is no need to do a blk uclass specific unbind operation. Signed-off-by: Bin Meng --- diff --git a/drivers/usb/host/usb-uclass.c b/drivers/usb/host/usb-uclass.c index 8a9f810bf8..bfc0556d7d 100644 --- a/drivers/usb/host/usb-uclass.c +++ b/drivers/usb/host/usb-uclass.c @@ -193,11 +193,7 @@ int usb_stop(void) err = ret; } } -#ifdef CONFIG_BLK - ret = blk_unbind_all(IF_TYPE_USB); - if (ret && !err) - err = ret; -#endif + #ifdef CONFIG_SANDBOX struct udevice *dev;