From: jasper Date: Mon, 30 Aug 2021 14:44:39 +0000 (+0000) Subject: remove a bunch of forward-only structs that were found with ctfconv. X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=73ce225a6a4560c037c675944bf05d5197c928e1;p=openbsd remove a bunch of forward-only structs that were found with ctfconv. ok mpi@ --- 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; diff --git a/sys/net/if_vlan.c b/sys/net/if_vlan.c index 08973cbf5a5..61d7abf748a 100644 --- a/sys/net/if_vlan.c +++ b/sys/net/if_vlan.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_vlan.c,v 1.208 2021/08/19 10:22:00 dlg Exp $ */ +/* $OpenBSD: if_vlan.c,v 1.209 2021/08/30 14:44:39 jasper Exp $ */ /* * Copyright 1998 Massachusetts Institute of Technology @@ -100,7 +100,6 @@ struct vlan_softc { struct refcnt sc_refcnt; struct task sc_ltask; struct task sc_dtask; - struct ifih *sc_ifih; }; SMR_SLIST_HEAD(vlan_list, vlan_softc);