diff options
author | Adrian Bunk <bunk@stusta.de> | 2005-12-22 01:08:52 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2006-01-09 12:13:20 -0800 |
commit | 54c762fe62d9ff0982f38e80cbec9c59104311e9 (patch) | |
tree | 524fa5aa095973b8496537d39c70aa8c0d47b243 /drivers/pci/hotplug | |
parent | c64b5eead93f9d3a8ca0e9ca0ffba0b99dc565b9 (diff) | |
download | kernel_samsung_aries-54c762fe62d9ff0982f38e80cbec9c59104311e9.zip kernel_samsung_aries-54c762fe62d9ff0982f38e80cbec9c59104311e9.tar.gz kernel_samsung_aries-54c762fe62d9ff0982f38e80cbec9c59104311e9.tar.bz2 |
[PATCH] PCI: drivers/pci: some cleanups
This patch contains the following cleanups:
- hotplug/pciehp_core.c: make the needlessly global hpdriver_context
static
- #if 0 the following unused functions:
- pci.c: pci_bus_max_busnr()
- pci.c: pci_max_busnr()
- proc.c: pci_proc_attach_bus()
- remove.c: pci_remove_device_safe
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/pci/hotplug')
-rw-r--r-- | drivers/pci/hotplug/pciehp_core.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pci/hotplug/pciehp_core.c b/drivers/pci/hotplug/pciehp_core.c index 986e202..4fb5690 100644 --- a/drivers/pci/hotplug/pciehp_core.c +++ b/drivers/pci/hotplug/pciehp_core.c @@ -512,7 +512,7 @@ static void __exit unload_pciehpd(void) } -int hpdriver_context = 0; +static int hpdriver_context = 0; static void pciehp_remove (struct pcie_device *device) { |