]> git.baikalelectronics.ru Git - kernel.git/commit
drivers/rtc/rtc-mxc.c: remove unneeded label
authorFabio Estevam <fabio.estevam@freescale.com>
Thu, 23 Jan 2014 23:55:04 +0000 (15:55 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 24 Jan 2014 00:36:59 +0000 (16:36 -0800)
commit0c4d800b6377511e4267a2c6a3bc79e0bc14d620
treeaf940a0d948e99f49994809ce7962052cf434ac9
parenta16cf20dd52268dbb1b1cafb9a2b6424e198d4c1
drivers/rtc/rtc-mxc.c: remove unneeded label

There is no need to jump to the 'exit_free_pdata' label when
devm_clk_get() fails, as we can directly return the error and simplify the
code a bit.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/rtc/rtc-mxc.c