]> git.karo-electronics.de Git - karo-tx-linux.git/commit
clk: Deduplicate exit code in clk_set_rate
authorNestor Ovroy <novroy@riseup.net>
Fri, 18 Jan 2013 16:07:39 +0000 (17:07 +0100)
committerMike Turquette <mturquette@linaro.org>
Mon, 21 Jan 2013 22:29:11 +0000 (14:29 -0800)
commit4cfe54e57910b59444d34a05284db27df416f20b
tree11acc88de7b1fe321b5552ca5eda9baa4fadce26
parent135a829744067cb825b48f7422e22861e57d5ecd
clk: Deduplicate exit code in clk_set_rate

On non-out case 'return ret;' is equivalent to 'return 0;' as the ret
variable is initialized at 0 and never changed.

Signed-off-by: Nestor Ovroy <novroy@riseup.net>
drivers/clk/clk.c