From: Bin Meng Date: Sun, 1 Oct 2017 06:19:43 -0700 Subject: [U-Boot] [PATCH 08/10] dm: usb: Remove no longer needed blk_unbind_all() In-Reply-To: <1506863985-30907-1-git-send-email-bmeng.cn@gmail.com> References: <1506863985-30907-1-git-send-email-bmeng.cn@gmail.com> Message-ID: <1506863985-30907-8-git-send-email-bmeng.cn@gmail.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 --- drivers/usb/host/usb-uclass.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/drivers/usb/host/usb-uclass.c b/drivers/usb/host/usb-uclass.c index 8a9f810..bfc0556 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; -- 2.7.4