Skip to content
Snippets Groups Projects
Commit cbf86d71 authored by Masahiro Yamada's avatar Masahiro Yamada Committed by Simon Glass
Browse files

dm: core: a trivial clean up

parent d11e8fd8
No related branches found
No related tags found
No related merge requests found
...@@ -73,10 +73,8 @@ int dm_scan_platdata(bool pre_reloc_only) ...@@ -73,10 +73,8 @@ int dm_scan_platdata(bool pre_reloc_only)
dm_warn("Some drivers were not found\n"); dm_warn("Some drivers were not found\n");
ret = 0; ret = 0;
} }
if (ret)
return ret;
return 0; return ret;
} }
#ifdef CONFIG_OF_CONTROL #ifdef CONFIG_OF_CONTROL
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment