diff options
author | rajesh.shah@intel.com <rajesh.shah@intel.com> | 2005-10-31 19:20:09 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2005-11-10 19:09:15 -0500 |
commit | ed6cbcf2ac706aa47194fd2f7a99865cc06833d7 (patch) | |
tree | 7c0dfc9a0c8078618f662f5d7a5dcad25d05ac77 /drivers/pci/hotplug/pciehprm_nonacpi.c | |
parent | ca22a5e4d70620b7f3d809e424daa5214b0aa00d (diff) |
[PATCH] pciehp: miscellaneous cleanups
Remove un-necessary header includes, remove dead code, remove
some hardcoded constants...
Signed-off-by: Rajesh Shah <rajesh.shah@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/pci/hotplug/pciehprm_nonacpi.c')
-rw-r--r-- | drivers/pci/hotplug/pciehprm_nonacpi.c | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/drivers/pci/hotplug/pciehprm_nonacpi.c b/drivers/pci/hotplug/pciehprm_nonacpi.c index 32371cd19e34..6447642f78c5 100644 --- a/drivers/pci/hotplug/pciehprm_nonacpi.c +++ b/drivers/pci/hotplug/pciehprm_nonacpi.c | |||
@@ -27,25 +27,13 @@ | |||
27 | * | 27 | * |
28 | */ | 28 | */ |
29 | 29 | ||
30 | #include <linux/config.h> | ||
31 | #include <linux/module.h> | 30 | #include <linux/module.h> |
32 | #include <linux/kernel.h> | 31 | #include <linux/kernel.h> |
33 | #include <linux/types.h> | 32 | #include <linux/types.h> |
34 | #include <linux/sched.h> | 33 | #include <linux/sched.h> |
35 | #include <linux/pci.h> | 34 | #include <linux/pci.h> |
36 | #include <linux/init.h> | ||
37 | #include <linux/slab.h> | 35 | #include <linux/slab.h> |
38 | #include <asm/uaccess.h> | ||
39 | #include "pciehp.h" | 36 | #include "pciehp.h" |
40 | #include "pciehprm_nonacpi.h" | ||
41 | |||
42 | |||
43 | int pciehprm_get_physical_slot_number(struct controller *ctrl, u32 *sun, u8 busnum, u8 devnum) | ||
44 | { | ||
45 | |||
46 | *sun = (u8) (ctrl->first_slot); | ||
47 | return 0; | ||
48 | } | ||
49 | 37 | ||
50 | void get_hp_params_from_firmware(struct pci_dev *dev, | 38 | void get_hp_params_from_firmware(struct pci_dev *dev, |
51 | struct hotplug_params *hpp) | 39 | struct hotplug_params *hpp) |