summaryrefslogtreecommitdiffstats
path: root/drivers/thermal/tango_thermal.c
diff options
context:
space:
mode:
authorAndrey Smirnov <andrew.smirnov@gmail.com>2016-07-21 14:59:21 -0700
committerBoris Brezillon <boris.brezillon@free-electrons.com>2016-09-23 09:35:16 +0200
commitfc6b4d12bc394aa9b5c22aa3a2f5128ad6c84a72 (patch)
tree3106187e2dd999b09d5ea7910bb6bc7f5f3788d8 /drivers/thermal/tango_thermal.c
parent76fe334f71dd20f7eadd4c624441ec7d1fb92f33 (diff)
downloadtalos-obmc-linux-fc6b4d12bc394aa9b5c22aa3a2f5128ad6c84a72.tar.gz
talos-obmc-linux-fc6b4d12bc394aa9b5c22aa3a2f5128ad6c84a72.zip
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>
Diffstat (limited to 'drivers/thermal/tango_thermal.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud