From e5e2d96e1386eb0593c458f0b5fda1d2a98cb228 Mon Sep 17 00:00:00 2001 From: sbruno <sbruno@FreeBSD.org> Date: Wed, 20 Jul 2016 19:21:11 +0000 Subject: [PATCH] Remove uneeded parens. MFC after: 1 day --- sys/dev/e1000/if_igb.c | 2 +- sys/dev/e1000/if_lem.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/dev/e1000/if_igb.c b/sys/dev/e1000/if_igb.c index ef5256fdf1a0..8e018995029e 100644 --- a/sys/dev/e1000/if_igb.c +++ b/sys/dev/e1000/if_igb.c @@ -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; diff --git a/sys/dev/e1000/if_lem.c b/sys/dev/e1000/if_lem.c index 55b83109d160..1bfde10004f7 100644 --- a/sys/dev/e1000/if_lem.c +++ b/sys/dev/e1000/if_lem.c @@ -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;