Dan Carpenter c3cb77f898 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>
2016-07-09 18:14:39 -07:00
..
2016-05-24 11:00:20 -07:00
2016-05-27 14:17:15 -07:00
2016-06-01 17:23:02 -07:00
2016-03-24 19:57:15 -07:00
2014-04-14 11:23:01 -07:00
2016-05-05 23:51:51 +02:00
2016-05-05 23:51:51 +02:00
2016-04-18 11:23:24 +02:00