Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/amiga/dev Remove statically allocated qn_softc[] ar...



details:   https://anonhg.NetBSD.org/src/rev/753e877b9b4b
branches:  trunk
changeset: 370116:753e877b9b4b
user:      thorpej <thorpej%NetBSD.org@localhost>
date:      Sat Sep 17 19:18:04 2022 +0000

description:
Remove statically allocated qn_softc[] array.  NFC, as it was not
referenced by anything.

diffstat:

 sys/arch/amiga/dev/if_qn.c |  7 +++----
 1 files changed, 3 insertions(+), 4 deletions(-)

diffs (28 lines):

diff -r 59027ab468f7 -r 753e877b9b4b sys/arch/amiga/dev/if_qn.c
--- a/sys/arch/amiga/dev/if_qn.c        Sat Sep 17 18:58:49 2022 +0000
+++ b/sys/arch/amiga/dev/if_qn.c        Sat Sep 17 19:18:04 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: if_qn.c,v 1.50 2021/12/05 08:16:10 msaitoh Exp $ */
+/*     $NetBSD: if_qn.c,v 1.51 2022/09/17 19:18:04 thorpej Exp $ */
 
 /*
  * Copyright (c) 1995 Mika Kortelainen
@@ -66,7 +66,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_qn.c,v 1.50 2021/12/05 08:16:10 msaitoh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_qn.c,v 1.51 2022/09/17 19:18:04 thorpej Exp $");
 
 #include "qn.h"
 #if NQN > 0
@@ -142,8 +142,7 @@
        u_short volatile *nic_reset;
        u_short volatile *nic_len;
        u_char  transmit_pending;
-} qn_softc[NQN];
-
+};
 
 int    qnmatch(device_t, cfdata_t, void *);
 void   qnattach(device_t, device_t, void *);



Home | Main Index | Thread Index | Old Index