提交 ad0a9378 编写于 作者: B Bin Meng 提交者: Marek Vasut

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: NBin Meng <bmeng.cn@gmail.com>
上级 d4efefe3
......@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册