brcm80211/brcmsmac/phy/phy_n.c: problem with ? : code

From: David Binderman <hidden>
Date: 2015-01-07 10:07:39

Hello there,

[linux-3.19-rc3/drivers/net/wireless/brcm80211/brcmsmac/phy/phy_n.c:27027]: (style) Same expression in both branches of ternary operator.

Source code is

    desired_log2_pwr = (cal_type == 0) ? 13 : 13;

Suggest code rework.

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