Search Linux Wireless

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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

 		 	   		  --
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Wireless Personal Area Network]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]

  Powered by Linux