summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorJasper Lievisse Adriaanse <jasper@cvs.openbsd.org>2021-08-30 14:44:40 +0000
committerJasper Lievisse Adriaanse <jasper@cvs.openbsd.org>2021-08-30 14:44:40 +0000
commit1f080230f06f4ea5f310000e61fdeeacbfe7e5d0 (patch)
tree7fcbb0ff4ca8a4b50803126b2eaf66e293ba4091 /sys/dev
parent3cc271273490c2637b86652ff0798a0cdd84ff94 (diff)
remove a bunch of forward-only structs that were found with ctfconv.
ok mpi@
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/ic/gdt_common.c3
-rw-r--r--sys/dev/ic/gdtvar.h4
2 files changed, 2 insertions, 5 deletions
diff --git a/sys/dev/ic/gdt_common.c b/sys/dev/ic/gdt_common.c
index 8a1648b0f94..c19ee86ecb0 100644
--- a/sys/dev/ic/gdt_common.c
+++ b/sys/dev/ic/gdt_common.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: gdt_common.c,v 1.83 2020/10/15 00:01:24 krw Exp $ */
+/* $OpenBSD: gdt_common.c,v 1.84 2021/08/30 14:44:39 jasper Exp $ */
/*
* Copyright (c) 1999, 2000, 2003 Niklas Hallqvist. All rights reserved.
@@ -125,7 +125,6 @@ gdt_attach(struct gdt_softc *sc)
TAILQ_INIT(&sc->sc_free_ccb);
TAILQ_INIT(&sc->sc_ccbq);
- TAILQ_INIT(&sc->sc_ucmdq);
SIMPLEQ_INIT(&sc->sc_queue);
mtx_init(&sc->sc_ccb_mtx, IPL_BIO);
diff --git a/sys/dev/ic/gdtvar.h b/sys/dev/ic/gdtvar.h
index 4ea8b84dd86..fce26c7c9ce 100644
--- a/sys/dev/ic/gdtvar.h
+++ b/sys/dev/ic/gdtvar.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: gdtvar.h,v 1.25 2020/07/22 13:16:04 krw Exp $ */
+/* $OpenBSD: gdtvar.h,v 1.26 2021/08/30 14:44:39 jasper Exp $ */
/*
* Copyright (c) 1999, 2000 Niklas Hallqvist. All rights reserved.
@@ -72,7 +72,6 @@ struct gdt_intr_ctx {
struct gdt_ccb {
TAILQ_ENTRY(gdt_ccb) gc_chain;
struct scsi_xfer *gc_xs;
- struct gdt_ucmd *gc_ucmd;
bus_dmamap_t gc_dmamap_xfer;
int gc_timeout;
u_int32_t gc_info;
@@ -129,7 +128,6 @@ struct gdt_softc {
struct gdt_ccb sc_ccbs[GDT_MAXCMDS];
TAILQ_HEAD(, gdt_ccb) sc_free_ccb, sc_ccbq;
- TAILQ_HEAD(, gdt_ucmd) sc_ucmdq;
struct scsi_xfer_list sc_queue;
struct mutex sc_ccb_mtx;