From 92a500692b8143cd9c8aea53f744b0674d1edf05 Mon Sep 17 00:00:00 2001 From: jsg Date: Thu, 10 Oct 2024 03:36:10 +0000 Subject: [PATCH] remove unused agp_softc variables --- sys/dev/pci/agp_i810.c | 3 +-- sys/dev/pci/agpvar.h | 5 +---- 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 */ -- 2.20.1