Remove uneeded parens.
MFC after: 1 day
This commit is contained in:
parent
d0939e6093
commit
e5e2d96e13
@ -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;
|
||||
|
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user