mirror of
https://git.codelinaro.org/clo/qsdk/oss/boot/u-boot-2016.git
synced 2026-03-14 21:10:27 +01:00
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 <bmeng.cn@gmail.com>
This commit is contained in:
parent
d4efefe32e
commit
ad0a9378bf
1 changed files with 1 additions and 5 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue