Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 28275
b: refs/heads/master
c: ea83bc1
h: refs/heads/master
i:
  28273: 2244e21
  28271: 3654848
v: v3
  • Loading branch information
Kenji Kaneshige authored and Greg Kroah-Hartman committed Jun 19, 2006
1 parent 3df6dab commit 6f62020
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 9 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: f42639572680f4d69d9522f91c65e793ebeca098
refs/heads/master: ea83bc1dabdca9da643972b591259a7657459ff5
8 changes: 0 additions & 8 deletions trunk/drivers/pci/hotplug/shpchp_hpc.c
Original file line number Diff line number Diff line change
Expand Up @@ -211,8 +211,6 @@
#define SLOT_EVENT_LATCH 0x2
#define SLOT_SERR_INT_MASK 0x3

static spinlock_t hpc_event_lock;

DEFINE_DBG_BUFFER /* Debug string buffer for entire HPC defined here */
static struct php_ctlr_state_s *php_ctlr_list_head; /* HPC state linked list */
static int ctlr_seq_num = 0; /* Controller sequenc # */
Expand Down Expand Up @@ -1105,7 +1103,6 @@ int shpc_init(struct controller * ctrl, struct pci_dev * pdev)
void *instance_id = ctrl;
int rc, num_slots = 0;
u8 hp_slot;
static int first = 1;
u32 shpc_base_offset;
u32 tempdword, slot_reg, slot_config;
u8 i;
Expand Down Expand Up @@ -1167,11 +1164,6 @@ int shpc_init(struct controller * ctrl, struct pci_dev * pdev)
ctrl->mmio_size = 0x24 + 0x4 * num_slots;
}

if (first) {
spin_lock_init(&hpc_event_lock);
first = 0;
}

info("HPC vendor_id %x device_id %x ss_vid %x ss_did %x\n", pdev->vendor, pdev->device, pdev->subsystem_vendor,
pdev->subsystem_device);

Expand Down

0 comments on commit 6f62020

Please sign in to comment.