git: kernel: Remove opt_bus.h references where they are not needed.

Sascha Wildner swildner at crater.dragonflybsd.org
Wed Feb 15 23:54:45 PST 2012


commit 14aee18d9e52ae076df0620906dfe0a39773bc01
Author: Sascha Wildner <saw at online.de>
Date:   Thu Feb 16 08:54:23 2012 +0100

    kernel: Remove opt_bus.h references where they are not needed.
    
    It only defines BUS_DEBUG (if set) and BUS_DEBUG is only used in
    subr_bus.c, so it doesn't need to be included anywhere else.

Summary of changes:
 sys/bus/pci/pci.c                        |    1 -
 sys/bus/pci/pci_compat.c                 |    4 ----
 sys/bus/pci/pci_user.c                   |    1 -
 sys/bus/usb/ehci/Makefile                |    4 +---
 sys/bus/usb/ehci_pci.c                   |    2 --
 sys/bus/usb/ohci_pci.c                   |    2 --
 sys/bus/usb/uhci_pci.c                   |    2 --
 sys/bus/usb/usb/Makefile                 |    4 +---
 sys/dev/acpica5/Makefile                 |    2 +-
 sys/dev/agp/Makefile                     |    3 +--
 sys/dev/agp/agp.c                        |    2 --
 sys/dev/agp/agp_ali.c                    |    2 --
 sys/dev/agp/agp_amd.c                    |    2 --
 sys/dev/agp/agp_ati.c                    |    2 --
 sys/dev/agp/agp_i810.c                   |    2 --
 sys/dev/agp/agp_intel.c                  |    2 --
 sys/dev/agp/agp_nvidia.c                 |    2 --
 sys/dev/agp/agp_sis.c                    |    2 --
 sys/dev/agp/agp_via.c                    |    2 --
 sys/dev/agp/agp_x86_64.c                 |    2 --
 sys/dev/crypto/aesni/Makefile            |    2 +-
 sys/dev/crypto/glxsb/Makefile            |    2 +-
 sys/dev/crypto/hifn/Makefile             |    2 +-
 sys/dev/crypto/padlock/Makefile          |    2 +-
 sys/dev/crypto/safe/Makefile             |    2 +-
 sys/dev/crypto/ubsec/Makefile            |    2 +-
 sys/dev/misc/ecc/Makefile                |    2 +-
 sys/platform/pc32/i386/autoconf.c        |    1 -
 sys/platform/pc32/i386/mp_clock.c        |    2 --
 sys/platform/pc64/x86_64/autoconf.c      |    1 -
 sys/platform/vkernel/i386/autoconf.c     |    1 -
 sys/platform/vkernel64/x86_64/autoconf.c |    1 -
 32 files changed, 11 insertions(+), 54 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/14aee18d9e52ae076df0620906dfe0a39773bc01


-- 
DragonFly BSD source repository





More information about the Commits mailing list