summaryrefslogtreecommitdiffstats
path: root/drivers/pci/hotplug/shpchprm_nonacpi.c
diff options
context:
space:
mode:
authorrajesh.shah@intel.com2005-10-13 21:05:42 +0200
committerGreg Kroah-Hartman2005-10-29 00:37:00 +0200
commitee138334d5eb5ca662b2d69228420c1ccc051e0e (patch)
tree6c8f0d28ab39f4ea9abb0e9986f8c9a3fca6f470 /drivers/pci/hotplug/shpchprm_nonacpi.c
parent[PATCH] shpchp: remove redundant data structures (diff)
downloadkernel-qcow2-linux-ee138334d5eb5ca662b2d69228420c1ccc051e0e.tar.gz
kernel-qcow2-linux-ee138334d5eb5ca662b2d69228420c1ccc051e0e.tar.xz
kernel-qcow2-linux-ee138334d5eb5ca662b2d69228420c1ccc051e0e.zip
[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 f36c188c23eb..d70fe5408417 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)
{