Commit 90815e65 authored by Rolf Eike Beer's avatar Rolf Eike Beer Committed by Deepak Saxena

[PATCH] CompactPCI Hotplug: kill magic number

slot->magic is not used anymore since slot_paranoia_check is dead, so just kill
it.
parent 84ce62fb
......@@ -40,9 +40,7 @@
#define HS_CSR_EIM 0x0002
#define HS_CSR_DHA 0x0001
#define SLOT_MAGIC 0x67267322
struct slot {
u32 magic;
u8 number;
unsigned int devfn;
struct pci_bus *bus;
......
......@@ -353,7 +353,6 @@ cpci_hp_register_bus(struct pci_bus *bus, u8 first, u8 last)
}
hotplug_slot->name = name;
slot->magic = SLOT_MAGIC;
slot->bus = bus;
slot->number = i;
slot->devfn = PCI_DEVFN(i, 0);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment