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/c6d893c72da3
branches: trunk
changeset: 981875:c6d893c72da3
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 9070b64b012f -r c6d893c72da3 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