mtd: nand: Get rid of needless 'goto'
authorAndrey Smirnov <andrew.smirnov@gmail.com>
Thu, 21 Jul 2016 21:59:21 +0000 (14:59 -0700)
committerBoris Brezillon <boris.brezillon@free-electrons.com>
Wed, 10 Aug 2016 14:12:52 +0000 (16:12 +0200)
commit4ae1f3a6989bd359f0cdb671cbe1867bdd5673b9
treed0b03e4dad7f7e507b37fd76ca5e044c53e6651b
parent2b3c2e2d759e7fbbbd2ebb880db141c74e2afeae
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>
drivers/mtd/nand/nand_base.c
This page took 0.024718 seconds and 5 git commands to generate.