commit | 2d3743944a6b425f3a3795a967499c13e0d8856c | [log] [tgz] |
---|---|---|
author | Brian Norris <computersforpeace@gmail.com> | Fri Dec 18 11:39:53 2015 -0800 |
committer | Brian Norris <computersforpeace@gmail.com> | Fri Dec 18 12:43:00 2015 -0800 |
tree | 7b028423ad609469780a881de8dc7b85617390d7 | |
parent | 7208b997b726522cdbea61f53a82c763704c015a [diff] |
mtd: nand: docg4: simplify error case Other refactorings have left the 'fail' label much simpler, so it shouldn't have to handle the failed allocation case. This also fixes a -Wshadow warning. Signed-off-by: Brian Norris <computersforpeace@gmail.com> Reviewed-by: Boris Brezillon <boris.brezillon@free-electrons.com>