summaryrefslogtreecommitdiffstats
path: root/drivers/pci/hotplug/rpaphp.h
diff options
context:
space:
mode:
authorLinas Vepstas <linas@austin.ibm.com>2007-04-13 15:34:08 -0700
committerGreg Kroah-Hartman <gregkh@suse.de>2007-05-02 19:02:38 -0700
commitfa1891596ca252e48e8803738fd8ead5b3082217 (patch)
tree71e1eda01afb116691331a7da93fe2c1b08bb6c1 /drivers/pci/hotplug/rpaphp.h
parentbf8cbae47559170d2f2947dd547492714f195dd3 (diff)
downloadop-kernel-dev-fa1891596ca252e48e8803738fd8ead5b3082217.zip
op-kernel-dev-fa1891596ca252e48e8803738fd8ead5b3082217.tar.gz
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 2e7accf..2ccbe8d 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 */
OpenPOWER on IntegriCloud