commit | c3cb77f8980db9dba614822d2d4a4cc61e44c8e2 | [log] [tgz] |
---|---|---|
author | Dan Carpenter <dan.carpenter@oracle.com> | Wed Apr 13 09:42:34 2016 +0300 |
committer | Brian Norris <computersforpeace@gmail.com> | Sat Jul 09 18:14:39 2016 -0700 |
tree | 87b93f6ade6292b73845a39f370828b369a18239 | |
parent | ef158bdf837406a4b5f44524367d11d44da2bdf2 [diff] |
mtd: silence some uninitialized variable warnings The "tmp_retlen" variable can be uninitialized if action() fails. It's harmless except for the static checker warning. I have moved the error handling earlier to fix it. Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Brian Norris <computersforpeace@gmail.com>