drivers/clk/bcm/clk-iproc-pll.c:280]: (style) Redundant condition
From: David Binderman <hidden>
Date: 2017-03-27 10:47:11
Also in:
linux-clk
From: David Binderman <hidden>
Date: 2017-03-27 10:47:11
Also in:
linux-clk
Hello there,
linux-4.11-rc4/drivers/clk/bcm/clk-iproc-pll.c:280]: (style) Redundant condition: If 'rate >= 2200000000', the comparison 'rate' is always true.
Source code is
} else if (rate >= VCO_HIGH && rate && rate < VCO_HIGH_HIGH) {
Suggest new code
} else if (rate >= VCO_HIGH && rate < VCO_HIGH_HIGH) {
Regards
David Binderman