commit | fc6b4d12bc394aa9b5c22aa3a2f5128ad6c84a72 | [log] [tgz] |
---|---|---|
author | Andrey Smirnov <andrew.smirnov@gmail.com> | Thu Jul 21 14:59:21 2016 -0700 |
committer | Boris Brezillon <boris.brezillon@free-electrons.com> | Fri Sep 23 09:35:16 2016 +0200 |
tree | 3106187e2dd999b09d5ea7910bb6bc7f5f3788d8 | |
parent | 76fe334f71dd20f7eadd4c624441ec7d1fb92f33 [diff] |
mtd: nand: Get rid of needless 'goto' Using "goto" and "switch" statement only makes it harder to follow control flow and doesn't bring any advantages. Rewrite the code to avoid using "goto". Signed-off-by: Brian Norris <computersforpeace@gmail.com> Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com> Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>