From: miod Date: Thu, 17 Oct 2024 15:52:30 +0000 (+0000) Subject: Remove a lot of #include stanzas which used to be required by code found in X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=1e4516bc78166f766227bc7f59ef7f45e634fc40;p=openbsd Remove a lot of #include stanzas which used to be required by code found in this file at some point, but such code now lies comfortably in the Attic. ok jsg@ mpi@ --- diff --git a/sys/dev/pci/vga_pci_common.c b/sys/dev/pci/vga_pci_common.c index ef3f043380f..6d6a3c7ee33 100644 --- a/sys/dev/pci/vga_pci_common.c +++ b/sys/dev/pci/vga_pci_common.c @@ -1,3 +1,4 @@ +/* $OpenBSD: vga_pci_common.c,v 1.12 2024/10/17 15:52:30 miod Exp $ */ /* * Copyright (c) 2008 Owain G. Ainsworth * @@ -14,33 +15,16 @@ * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ -#include "vga.h" -#if defined(__i386__) || defined(__amd64__) -#include "acpi.h" -#endif - +#ifdef RAMDISK_HOOKS #include -#include - -#include -#include #include #include -#include -#include -#include - -#include -#include -#include - #include #include #include -#ifdef RAMDISK_HOOKS static const struct pci_matchid aperture_blacklist[] = { /* server adapters found in mga200 drm driver */ { PCI_VENDOR_MATROX, PCI_PRODUCT_MATROX_G200E_SE },