summaryrefslogtreecommitdiff
path: root/drivers/pci/hotplug/shpchp_core.c
diff options
context:
space:
mode:
authorKenji Kaneshige <kaneshige.kenji@jp.fujitsu.com>2006-01-26 10:03:40 +0900
committerGreg Kroah-Hartman <gregkh@suse.de>2006-03-23 14:35:12 -0800
commit8abebe13f9df5b93be521eeefbf349236ddcd4eb (patch)
treeebfef0af3f05f60525e49ae2d234087e47b35b1c /drivers/pci/hotplug/shpchp_core.c
parent57c95c0d1c9ec83877dfea2f62bebf31059bc93c (diff)
[PATCH] shpchp - removed unncessary 'magic' member from slot
This patch removes unnecessary 'magic' member from struct slot of SHPCHP driver. Signed-off-by: Kenji Kaneshige <kaneshige.kenji@jp.fujitsu.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/pci/hotplug/shpchp_core.c')
-rw-r--r--drivers/pci/hotplug/shpchp_core.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/pci/hotplug/shpchp_core.c b/drivers/pci/hotplug/shpchp_core.c
index 08be8c1f5dcc..4161da4bf4ba 100644
--- a/drivers/pci/hotplug/shpchp_core.c
+++ b/drivers/pci/hotplug/shpchp_core.c
@@ -137,7 +137,6 @@ static int init_slots(struct controller *ctrl)
hotplug_slot->name = name;
slot->hp_slot = i;
- slot->magic = SLOT_MAGIC;
slot->ctrl = ctrl;
slot->bus = ctrl->slot_bus;
slot->device = ctrl->slot_device_offset + i;