svn commit: r303181 - stable/10/sys/dev/e1000

Sean Bruno sbruno at FreeBSD.org
Fri Jul 22 03:48:45 UTC 2016


Author: sbruno
Date: Fri Jul 22 03:48:44 2016
New Revision: 303181
URL: https://svnweb.freebsd.org/changeset/base/303181

Log:
  MFC r303110
  Remove uneeded parens.

Modified:
  stable/10/sys/dev/e1000/if_igb.c
Directory Properties:
  stable/10/   (props changed)

Modified: stable/10/sys/dev/e1000/if_igb.c
==============================================================================
--- stable/10/sys/dev/e1000/if_igb.c	Fri Jul 22 03:42:32 2016	(r303180)
+++ stable/10/sys/dev/e1000/if_igb.c	Fri Jul 22 03:48:44 2016	(r303181)
@@ -1091,7 +1091,7 @@ igb_ioctl(struct ifnet *ifp, u_long comm
 		ifp->if_mtu = ifr->ifr_mtu;
 		adapter->max_frame_size =
 		    ifp->if_mtu + ETHER_HDR_LEN + ETHER_CRC_LEN;
-		if ((ifp->if_drv_flags & IFF_DRV_RUNNING))
+		if (ifp->if_drv_flags & IFF_DRV_RUNNING)
 			igb_init_locked(adapter);
 		IGB_CORE_UNLOCK(adapter);
 		break;


More information about the svn-src-stable mailing list