commit | 1867bd4f414368ad5fc755a306ee73e1d411cf10 | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Wed Jul 23 06:54:58 2014 -0600 |
committer | Simon Glass <sjg@chromium.org> | Wed Jul 23 14:07:23 2014 +0100 |
tree | ff4358ffe721beb4f134f307cc37ee9d004db20d | |
parent | a7bb08ab4989724712160ddba0e83bdf03cc1ede [diff] |
stdio: Remove redundant code around stdio_register() calls There is no point in setting a structure's memory to NULL when it has already been zeroed with memset(). Also, there is no need to create a stub function for stdio to call - if the function is NULL it will not be called. This is a clean-up, with no change in functionality. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Marek Vasut <marex@denx.de>