提交 7074b2a3 编写于 作者: S Simon Glass 提交者: Jaehoon Chung

dm: blk: Update return value in blk_create_devicef()

This returns 'ret' but the value is always zero. Update it to simply
return 0, for clarity.
Signed-off-by: NSimon Glass <sjg@chromium.org>
上级 c16ad675
......@@ -596,7 +596,7 @@ int blk_create_devicef(struct udevice *parent, const char *drv_name,
}
device_set_name_alloced(*devp);
return ret;
return 0;
}
int blk_unbind_all(int if_type)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册