]> git.baikalelectronics.ru Git - kernel.git/commit
clk: iproc: Remove redundant check
authorRay Jui <ray.jui@broadcom.com>
Wed, 5 Apr 2017 19:53:37 +0000 (12:53 -0700)
committerMichael Turquette <mturquette@baylibre.com>
Wed, 12 Apr 2017 16:50:54 +0000 (18:50 +0200)
commit80fff906e912028e459412df363ca73632a968e1
treeaac24faf9668be15a2da8226ed4fe9d0893f6714
parent44ade3e860f5c5a27f590694c8e22823c3daded4
clk: iproc: Remove redundant check

Remove the redundant check of 'rate' in the if statement of the
'pll_set_rate' function

Reported-by: David Binderman <dcb314@hotmail.com>
Signed-off-by: Ray Jui <ray.jui@broadcom.com>
Fixes: e1adcbc42886 ("clk: iproc: add initial common clock support")
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Signed-off-by: Michael Turquette <mturquette@baylibre.com>
drivers/clk/bcm/clk-iproc-pll.c