Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/mips/cavium/dev Remove somewhat dubious empty octfp...



details:   https://anonhg.NetBSD.org/src/rev/b2873171416e
branches:  trunk
changeset: 953919:b2873171416e
user:      simonb <simonb%NetBSD.org@localhost>
date:      Wed Mar 24 08:10:14 2021 +0000

description:
Remove somewhat dubious empty octfpa_desc structure.

diffstat:

 sys/arch/mips/cavium/dev/octeon_fpa.c |  10 ++--------
 1 files changed, 2 insertions(+), 8 deletions(-)

diffs (38 lines):

diff -r 2c3d9cf73d4c -r b2873171416e sys/arch/mips/cavium/dev/octeon_fpa.c
--- a/sys/arch/mips/cavium/dev/octeon_fpa.c     Wed Mar 24 06:37:27 2021 +0000
+++ b/sys/arch/mips/cavium/dev/octeon_fpa.c     Wed Mar 24 08:10:14 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: octeon_fpa.c,v 1.9 2021/01/04 17:22:59 thorpej Exp $   */
+/*     $NetBSD: octeon_fpa.c,v 1.10 2021/03/24 08:10:14 simonb Exp $   */
 
 /*
  * Copyright (c) 2007 Internet Initiative Japan, Inc.
@@ -29,7 +29,7 @@
 #undef FPADEBUG
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: octeon_fpa.c,v 1.9 2021/01/04 17:22:59 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: octeon_fpa.c,v 1.10 2021/03/24 08:10:14 simonb Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -54,10 +54,6 @@
 #define        _DMA_NSEGS      1
 #define        _DMA_BUFLEN     0x01000000
 
-/* pool descriptor */
-struct octfpa_desc {
-};
-
 struct octfpa_softc {
        int                     sc_initialized;
 
@@ -68,8 +64,6 @@
        bus_space_handle_t      sc_opsh;
 
        bus_dma_tag_t           sc_dmat;
-
-       struct octfpa_desc      sc_descs[8];
 };
 
 void                   octfpa_bootstrap(struct octeon_config *);



Home | Main Index | Thread Index | Old Index