commit | 256d40201422c2af461800a4a94547d8be0ca57b | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Wed Sep 25 08:55:47 2019 -0600 |
committer | Bin Meng <bmeng.cn@gmail.com> | Tue Oct 08 13:57:37 2019 +0800 |
tree | 45ebb133b861267c2c98062d1dc7970d8cb7185c | |
parent | 7ee0d7b9f2860527f5c0e5352431c848785ff23b [diff] |
dm: core: Drop a few early returns Two functions in this file return early for no good reason. Adjust the code to match the standard DM style of returning 0 at the end of the function on success. Oddly enough this save 12 bytes of code size on ARM. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>