summaryrefslogtreecommitdiffstats
path: root/drivers/pci/hotplug/rpaphp.h
diff options
context:
space:
mode:
authorLinas Vepstas2007-04-14 00:34:08 +0200
committerGreg Kroah-Hartman2007-05-03 04:02:38 +0200
commitfa1891596ca252e48e8803738fd8ead5b3082217 (patch)
tree71e1eda01afb116691331a7da93fe2c1b08bb6c1 /drivers/pci/hotplug/rpaphp.h
parentPCI: rpaphp: Cleanup flow of control for rpaphp_add_slot (diff)
downloadkernel-qcow2-linux-fa1891596ca252e48e8803738fd8ead5b3082217.tar.gz
kernel-qcow2-linux-fa1891596ca252e48e8803738fd8ead5b3082217.tar.xz
kernel-qcow2-linux-fa1891596ca252e48e8803738fd8ead5b3082217.zip
PCI: rpaphp: Remove global num_slots variable
Cleanup cruft: remove the global "num_slots" variable; although scattered across multiple files, it is used only once, in a debug statement. Signed-off-by: Linas Vepstas <linas@austin.ibm.com> Cc: John Rose <johnrose@austin.ibm.com> Signed-off-by: Kristen Carlson Accardi <kristen.c.accardi@intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/pci/hotplug/rpaphp.h')
-rw-r--r--drivers/pci/hotplug/rpaphp.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/pci/hotplug/rpaphp.h b/drivers/pci/hotplug/rpaphp.h
index 2e7accf0f734..2ccbe8d4229d 100644
--- a/drivers/pci/hotplug/rpaphp.h
+++ b/drivers/pci/hotplug/rpaphp.h
@@ -83,7 +83,6 @@ struct slot {
extern struct hotplug_slot_ops rpaphp_hotplug_slot_ops;
extern struct list_head rpaphp_slot_head;
-extern int num_slots;
/* function prototypes */