summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2024-10-10 03:36:11 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2024-10-10 03:36:11 +0000
commit6aee5b88ac7411323736b14b9162f8bf4ad407d8 (patch)
tree65e7a17c814781c2ccf017b2a03bf151f35ab63f /sys/dev
parentf695644f64591f6065b876f720e75a5d92bc852c (diff)
remove unused agp_softc variables
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/pci/agp_i810.c3
-rw-r--r--sys/dev/pci/agpvar.h5
2 files changed, 2 insertions, 6 deletions
diff --git a/sys/dev/pci/agp_i810.c b/sys/dev/pci/agp_i810.c
index 07f24900008..6992da62345 100644
--- a/sys/dev/pci/agp_i810.c
+++ b/sys/dev/pci/agp_i810.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: agp_i810.c,v 1.97 2024/05/24 06:02:53 jsg Exp $ */
+/* $OpenBSD: agp_i810.c,v 1.98 2024/10/10 03:36:10 jsg Exp $ */
/*-
* Copyright (c) 2000 Doug Rabson
@@ -515,7 +515,6 @@ agp_i810_attach(struct device *parent, struct device *self, void *aux)
isc->agpdev = (struct agp_softc *)agp_attach_bus(pa, &agp_i810_methods,
isc->isc_apaddr, isc->isc_apsize, &isc->dev);
- isc->agpdev->sc_stolen_entries = isc->stolen;
return;
out:
diff --git a/sys/dev/pci/agpvar.h b/sys/dev/pci/agpvar.h
index 9e1dff939b3..9b79279bedd 100644
--- a/sys/dev/pci/agpvar.h
+++ b/sys/dev/pci/agpvar.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: agpvar.h,v 1.39 2024/10/10 00:41:01 jsg Exp $ */
+/* $OpenBSD: agpvar.h,v 1.40 2024/10/10 03:36:10 jsg Exp $ */
/* $NetBSD: agpvar.h,v 1.4 2001/10/01 21:54:48 fvdl Exp $ */
/*-
@@ -85,12 +85,9 @@ struct agp_softc {
pcitag_t sc_pcitag;
bus_addr_t sc_apaddr;
bus_size_t sc_apsize;
- uint32_t sc_stolen_entries;
pcireg_t sc_id;
- int sc_opened;
int sc_capoff;
- int sc_nextid; /* next mem block id */
enum agp_acquire_state sc_state;
u_int32_t sc_maxmem; /* mem upper bound */