summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorthorpej <thorpej@NetBSD.org>2022-09-18 12:49:34 +0000
committerthorpej <thorpej@NetBSD.org>2022-09-18 12:49:34 +0000
commit45996fd8a7764df80d62c2d7a7908028fd6dc681 (patch)
treeb07bd993b1dcca67d7f748603e94d43e1aeeec70 /sys
parentf3bb5c4e95495b898d8f49abdc97b8b4f8c0290c (diff)
Eliminate use of IFF_OACTIVE, take 2. (Not sure what happened there.)
Diffstat (limited to 'sys')
-rw-r--r--sys/arch/newsmips/apbus/if_sn.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/sys/arch/newsmips/apbus/if_sn.c b/sys/arch/newsmips/apbus/if_sn.c
index 5702895e2ab..a97afcf07c6 100644
--- a/sys/arch/newsmips/apbus/if_sn.c
+++ b/sys/arch/newsmips/apbus/if_sn.c
@@ -1,4 +1,4 @@
-/* $NetBSD: if_sn.c,v 1.51 2022/09/18 12:48:03 thorpej Exp $ */
+/* $NetBSD: if_sn.c,v 1.52 2022/09/18 12:49:34 thorpej Exp $ */
/*
* National Semiconductor DP8393X SONIC Driver
@@ -16,7 +16,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_sn.c,v 1.51 2022/09/18 12:48:03 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_sn.c,v 1.52 2022/09/18 12:49:34 thorpej Exp $");
#include "opt_inet.h"
@@ -430,7 +430,6 @@ sninit(struct sn_softc *sc)
/* flag interface as "running" */
sc->sc_if.if_flags |= IFF_RUNNING;
- sc->sc_if.if_flags &= ~IFF_OACTIVE;
splx(s);
return 0;
@@ -904,8 +903,6 @@ sonictxint(struct sn_softc *sc)
}
#endif /* SNDEBUG */
- ifp->if_flags &= ~IFF_OACTIVE;
-
if (mtd->mtd_mbuf != 0) {
m_freem(mtd->mtd_mbuf);
mtd->mtd_mbuf = 0;