Remove uneeded parens.

MFC after:	1 day
This commit is contained in:
Sean Bruno 2016-07-20 19:21:11 +00:00
parent 241cf416c9
commit c25b4c97a1
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=303110
2 changed files with 2 additions and 2 deletions

View File

@ -1106,7 +1106,7 @@ igb_ioctl(struct ifnet *ifp, u_long command, caddr_t data)
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;

View File

@ -1053,7 +1053,7 @@ lem_ioctl(if_t ifp, u_long command, caddr_t data)
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;