summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorBrad Smith <brad@cvs.openbsd.org>2005-11-15 01:40:44 +0000
committerBrad Smith <brad@cvs.openbsd.org>2005-11-15 01:40:44 +0000
commit3ac42b8e2522adefe466ab3ff53bf9ccfe3f24b9 (patch)
tree0d15370789734400be8eec538f2f4230c567d31d /sys
parent48761cc348e51f464be31d50dea62441a98ea280 (diff)
remove braces and fix indenting here so its easier to read.
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/pci/if_em.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/sys/dev/pci/if_em.c b/sys/dev/pci/if_em.c
index aa9948c6ae0..349d718376c 100644
--- a/sys/dev/pci/if_em.c
+++ b/sys/dev/pci/if_em.c
@@ -31,7 +31,7 @@ POSSIBILITY OF SUCH DAMAGE.
***************************************************************************/
-/* $OpenBSD: if_em.c,v 1.88 2005/11/14 16:04:15 brad Exp $ */
+/* $OpenBSD: if_em.c,v 1.89 2005/11/15 01:40:43 brad Exp $ */
/* $FreeBSD: if_em.c,v 1.46 2004/09/29 18:28:28 mlaier Exp $ */
#include <dev/pci/if_em.h>
@@ -527,10 +527,9 @@ em_ioctl(struct ifnet *ifp, u_long command, caddr_t data)
if (ifp->if_flags & IFF_RUNNING) {
em_disable_intr(sc);
em_set_multi(sc);
- if (sc->hw.mac_type == em_82542_rev2_0) {
+ if (sc->hw.mac_type == em_82542_rev2_0)
em_initialize_receive_unit(sc);
- }
- em_enable_intr(sc);
+ em_enable_intr(sc);
}
error = 0;
}