commit | 6cac81a3df5267b4babb6e1e7dbc4a148fed4e01 | [log] [tgz] |
---|---|---|
author | Masahiro Yamada <yamada.m@jp.panasonic.com> | Mon Nov 17 17:19:38 2014 +0900 |
committer | Simon Glass <sjg@chromium.org> | Sat Nov 22 10:16:48 2014 +0100 |
tree | 46eee6e77f5adb631f686673ca37cb59213b19a1 | |
parent | 73c1ecf33656840227114fd89a4358aac5026986 [diff] [blame] |
dm: core: a trivial clean up Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com> Acked-by: Simon Glass <sjg@chromium.org>
diff --git a/drivers/core/root.c b/drivers/core/root.c index a328a48..47b3acf 100644 --- a/drivers/core/root.c +++ b/drivers/core/root.c
@@ -73,10 +73,8 @@ dm_warn("Some drivers were not found\n"); ret = 0; } - if (ret) - return ret; - return 0; + return ret; } #ifdef CONFIG_OF_CONTROL