aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pci/hotplug/shpchp.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/pci/hotplug/shpchp.h')
-rw-r--r--drivers/pci/hotplug/shpchp.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/pci/hotplug/shpchp.h b/drivers/pci/hotplug/shpchp.h
index ade8ec145e1..dae1543a4e2 100644
--- a/drivers/pci/hotplug/shpchp.h
+++ b/drivers/pci/hotplug/shpchp.h
@@ -293,12 +293,9 @@ static inline struct slot *shpchp_find_slot (struct controller *ctrl, u8 device)
293 293
294 p_slot = ctrl->slot; 294 p_slot = ctrl->slot;
295 295
296 dbg("p_slot = %p\n", p_slot);
297
298 while (p_slot && (p_slot->device != device)) { 296 while (p_slot && (p_slot->device != device)) {
299 tmp_slot = p_slot; 297 tmp_slot = p_slot;
300 p_slot = p_slot->next; 298 p_slot = p_slot->next;
301 dbg("In while loop, p_slot = %p\n", p_slot);
302 } 299 }
303 if (p_slot == NULL) { 300 if (p_slot == NULL) {
304 err("ERROR: shpchp_find_slot device=0x%x\n", device); 301 err("ERROR: shpchp_find_slot device=0x%x\n", device);
@@ -313,8 +310,6 @@ static inline int wait_for_ctrl_irq (struct controller *ctrl)
313 DECLARE_WAITQUEUE(wait, current); 310 DECLARE_WAITQUEUE(wait, current);
314 int retval = 0; 311 int retval = 0;
315 312
316 dbg("%s : start\n",__FUNCTION__);
317
318 add_wait_queue(&ctrl->queue, &wait); 313 add_wait_queue(&ctrl->queue, &wait);
319 314
320 if (!shpchp_poll_mode) { 315 if (!shpchp_poll_mode) {
@@ -328,7 +323,6 @@ static inline int wait_for_ctrl_irq (struct controller *ctrl)
328 if (signal_pending(current)) 323 if (signal_pending(current))
329 retval = -EINTR; 324 retval = -EINTR;
330 325
331 dbg("%s : end\n", __FUNCTION__);
332 return retval; 326 return retval;
333} 327}
334 328