RE: [net-next 4/7] e1000e: use true/false for bool autoneg_false From: David Laight <hidden> Date: 2012-02-09 13:16:08 - if (mac->autoneg_failed == 0) { - mac->autoneg_failed = 1; + if (mac->autoneg_failed == false) { + mac->autoneg_failed = true; Don't check for equality with true/false. Booleans also work better if you avoid double-negatives. David
Keyboard shortcuts hback out one level jnext message in thread kprevious message in thread ldrill in Escclose help / fold thread tree ?toggle this help