PCI: rpaphp: Remove global num_slots variable
authorLinas Vepstas <linas@austin.ibm.com>
Fri, 13 Apr 2007 22:34:08 +0000 (15:34 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 3 May 2007 02:02:38 +0000 (19:02 -0700)
commitfa1891596ca252e48e8803738fd8ead5b3082217
tree71e1eda01afb116691331a7da93fe2c1b08bb6c1
parentbf8cbae47559170d2f2947dd547492714f195dd3
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>
drivers/pci/hotplug/rpaphp.h
drivers/pci/hotplug/rpaphp_core.c
drivers/pci/hotplug/rpaphp_slot.c