2015-01-07 10:07:39

by David Binderman

[permalink] [raw]
Subject: brcm80211/brcmsmac/phy/phy_n.c: problem with ? : code

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