Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 Jul 2016 19:21:11 +0000 (UTC)
From:      Sean Bruno <sbruno@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r303110 - head/sys/dev/e1000
Message-ID:  <201607201921.u6KJLBkW064304@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sbruno
Date: Wed Jul 20 19:21:11 2016
New Revision: 303110
URL: https://svnweb.freebsd.org/changeset/base/303110

Log:
  Remove uneeded parens.
  
  MFC after:	1 day

Modified:
  head/sys/dev/e1000/if_igb.c
  head/sys/dev/e1000/if_lem.c

Modified: head/sys/dev/e1000/if_igb.c
==============================================================================
--- head/sys/dev/e1000/if_igb.c	Wed Jul 20 18:41:47 2016	(r303109)
+++ head/sys/dev/e1000/if_igb.c	Wed Jul 20 19:21:11 2016	(r303110)
@@ -1106,7 +1106,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;

Modified: head/sys/dev/e1000/if_lem.c
==============================================================================
--- head/sys/dev/e1000/if_lem.c	Wed Jul 20 18:41:47 2016	(r303109)
+++ head/sys/dev/e1000/if_lem.c	Wed Jul 20 19:21:11 2016	(r303110)
@@ -1053,7 +1053,7 @@ lem_ioctl(if_t ifp, u_long command, cadd
 		if_setmtu(ifp, ifr->ifr_mtu);
 		adapter->max_frame_size =
 		    if_getmtu(ifp) + ETHER_HDR_LEN + ETHER_CRC_LEN;
-		if ((if_getdrvflags(ifp) & IFF_DRV_RUNNING))
+		if (if_getdrvflags(ifp) & IFF_DRV_RUNNING)
 			lem_init_locked(adapter);
 		EM_CORE_UNLOCK(adapter);
 		break;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201607201921.u6KJLBkW064304>