Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 23191
b: refs/heads/master
c: 8abebe1
h: refs/heads/master
i:
  23189: 9d80d01
  23187: 23b9d7f
  23183: db27275
v: v3
  • Loading branch information
Kenji Kaneshige authored and Greg Kroah-Hartman committed Mar 23, 2006
1 parent 4a5f1b1 commit cfef72b
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 8 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 57c95c0d1c9ec83877dfea2f62bebf31059bc93c
refs/heads/master: 8abebe13f9df5b93be521eeefbf349236ddcd4eb
6 changes: 0 additions & 6 deletions trunk/drivers/pci/hotplug/shpchp.h
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,7 @@ extern int shpchp_debug;
#define info(format, arg...) printk(KERN_INFO "%s: " format, MY_NAME , ## arg)
#define warn(format, arg...) printk(KERN_WARNING "%s: " format, MY_NAME , ## arg)

#define SLOT_MAGIC 0x67267321
struct slot {
u32 magic;
u8 bus;
u8 device;
u16 status;
Expand Down Expand Up @@ -287,10 +285,6 @@ static inline int slot_paranoia_check (struct slot *slot, const char *function)
dbg("%s - slot == NULL", function);
return -1;
}
if (slot->magic != SLOT_MAGIC) {
dbg("%s - bad magic number for slot", function);
return -1;
}
if (!slot->hotplug_slot) {
dbg("%s - slot->hotplug_slot == NULL!", function);
return -1;
Expand Down
1 change: 0 additions & 1 deletion trunk/drivers/pci/hotplug/shpchp_core.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit cfef72b

Please sign in to comment.