aboutsummaryrefslogtreecommitdiff
path: root/drivers/pci/hotplug/shpchprm_nonacpi.c
diff options
context:
space:
mode:
authorrajesh.shah@intel.com <rajesh.shah@intel.com>2005-10-13 12:05:42 -0700
committerGreg Kroah-Hartman <gregkh@suse.de>2005-10-28 15:37:00 -0700
commitee138334d5eb5ca662b2d69228420c1ccc051e0e (patch)
tree6c8f0d28ab39f4ea9abb0e9986f8c9a3fca6f470 /drivers/pci/hotplug/shpchprm_nonacpi.c
parent2178bfad9ccb0cbeb79599dd1dc349dd4567aa49 (diff)
[PATCH] shpchp: miscellaneous cleanups
Remove un-necessary header includes, remove dead code, remove some type casts, receive function return in the correct data type... Signed-off-by: Rajesh Shah <rajesh.shah@intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/pci/hotplug/shpchprm_nonacpi.c')
-rw-r--r--drivers/pci/hotplug/shpchprm_nonacpi.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/pci/hotplug/shpchprm_nonacpi.c b/drivers/pci/hotplug/shpchprm_nonacpi.c
index f36c188c23e..d70fe540841 100644
--- a/drivers/pci/hotplug/shpchprm_nonacpi.c
+++ b/drivers/pci/hotplug/shpchprm_nonacpi.c
@@ -32,10 +32,7 @@
#include <linux/kernel.h>
#include <linux/types.h>
#include <linux/pci.h>
-#include <linux/init.h>
-#include <asm/uaccess.h>
#include "shpchp.h"
-#include "shpchprm.h"
int shpchprm_get_physical_slot_number(struct controller *ctrl, u32 *sun, u8 busnum, u8 devnum)
{