Thread (2 messages) 2 messages, 2 authors, 2017-04-05

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

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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help