Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 138953bb authored by David Ertman's avatar David Ertman Committed by Jeff Kirsher
Browse files

e1000e: cleanup boolean comparison to true



Removing a comparison to the boolean value true where simply interrogating
the lvalue will produce the same result.

Signed-off-by: default avatarDavid Ertman <davidx.m.ertman@intel.com>
Tested-by: default avatarAaron Brown <aaron.f.brown@intel.com>
Signed-off-by: default avatarJeff Kirsher <jeffrey.t.kirsher@intel.com>
parent 0f8fdab1
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -4868,7 +4868,7 @@ static void e1000_watchdog_task(struct work_struct *work)
			 */
			if ((hw->phy.type == e1000_phy_igp_3 ||
			     hw->phy.type == e1000_phy_bm) &&
			    (hw->mac.autoneg == true) &&
			    hw->mac.autoneg &&
			    (adapter->link_speed == SPEED_10 ||
			     adapter->link_speed == SPEED_100) &&
			    (adapter->link_duplex == HALF_DUPLEX)) {