diff options
Diffstat (limited to 'sys/dev')
-rw-r--r-- | sys/dev/pci/if_myx.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/sys/dev/pci/if_myx.c b/sys/dev/pci/if_myx.c index 606fa95d880..19a7f23c32a 100644 --- a/sys/dev/pci/if_myx.c +++ b/sys/dev/pci/if_myx.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_myx.c,v 1.51 2014/01/23 01:51:53 dlg Exp $ */ +/* $OpenBSD: if_myx.c,v 1.52 2014/01/23 01:54:02 dlg Exp $ */ /* * Copyright (c) 2007 Reyk Floeter <reyk@openbsd.org> @@ -1620,10 +1620,7 @@ myx_intr(void *arg) u_int if_flags; int i; - KERNEL_LOCK(); if_flags = ifp->if_flags; - KERNEL_UNLOCK(); - if (!ISSET(if_flags, IFF_RUNNING)) return (0); |