Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/arm/gemini Eliminate use of IFF_OACTIVE. (In this ...



details:   https://anonhg.NetBSD.org/src/rev/c33af917e8d2
branches:  trunk
changeset: 370120:c33af917e8d2
user:      thorpej <thorpej%NetBSD.org@localhost>
date:      Sat Sep 17 19:46:59 2022 +0000

description:
Eliminate use of IFF_OACTIVE.  (In this driver, it was set in one
location, and never tested or cleared.  &shrug;)

diffstat:

 sys/arch/arm/gemini/if_gmc.c |  5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diffs (26 lines):

diff -r 2b4a1de1593f -r c33af917e8d2 sys/arch/arm/gemini/if_gmc.c
--- a/sys/arch/arm/gemini/if_gmc.c      Sat Sep 17 19:41:18 2022 +0000
+++ b/sys/arch/arm/gemini/if_gmc.c      Sat Sep 17 19:46:59 2022 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: if_gmc.c,v 1.14 2022/08/20 18:35:50 thorpej Exp $ */
+/* $NetBSD: if_gmc.c,v 1.15 2022/09/17 19:46:59 thorpej Exp $ */
 /*-
  * Copyright (c) 2008 The NetBSD Foundation, Inc.
  * All rights reserved.
@@ -47,7 +47,7 @@
 #include <net/if_ether.h>
 #include <net/if_dl.h>
 
-__KERNEL_RCSID(0, "$NetBSD: if_gmc.c,v 1.14 2022/08/20 18:35:50 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_gmc.c,v 1.15 2022/09/17 19:46:59 thorpej Exp $");
 
 #define        MAX_TXSEG       32
 
@@ -397,7 +397,6 @@
                if (m == NULL)
                        break;
                if (!gmc_txqueue(sc, sc->sc_txq[0], m)) {
-                       ifp->if_flags |= IFF_OACTIVE;
                        break;
                }
                IF_DEQUEUE(&ifp->if_snd, m);



Home | Main Index | Thread Index | Old Index