]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
dm: usb: Remove no longer needed blk_unbind_all()
authorBin Meng <bmeng.cn@gmail.com>
Sun, 1 Oct 2017 13:19:43 +0000 (06:19 -0700)
committerMarek Vasut <marex@denx.de>
Sun, 1 Oct 2017 14:32:51 +0000 (16:32 +0200)
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 <bmeng.cn@gmail.com>
drivers/usb/host/usb-uclass.c

index 8a9f810bf81c8c067096cb76ab2e68ff72c36801..bfc0556d7d660a6215475356848340db63c65350 100644 (file)
@@ -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;