diff options
Diffstat (limited to 'drivers/pci/hotplug/pciehp.h')
-rw-r--r-- | drivers/pci/hotplug/pciehp.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/pci/hotplug/pciehp.h b/drivers/pci/hotplug/pciehp.h index 314989a3a933..e1c2cea305f8 100644 --- a/drivers/pci/hotplug/pciehp.h +++ b/drivers/pci/hotplug/pciehp.h | |||
@@ -207,12 +207,9 @@ static inline struct slot *pciehp_find_slot(struct controller *ctrl, u8 device) | |||
207 | 207 | ||
208 | p_slot = ctrl->slot; | 208 | p_slot = ctrl->slot; |
209 | 209 | ||
210 | dbg("p_slot = %p\n", p_slot); | ||
211 | |||
212 | while (p_slot && (p_slot->device != device)) { | 210 | while (p_slot && (p_slot->device != device)) { |
213 | tmp_slot = p_slot; | 211 | tmp_slot = p_slot; |
214 | p_slot = p_slot->next; | 212 | p_slot = p_slot->next; |
215 | dbg("In while loop, p_slot = %p\n", p_slot); | ||
216 | } | 213 | } |
217 | if (p_slot == NULL) { | 214 | if (p_slot == NULL) { |
218 | err("ERROR: pciehp_find_slot device=0x%x\n", device); | 215 | err("ERROR: pciehp_find_slot device=0x%x\n", device); |
@@ -228,7 +225,6 @@ static inline int wait_for_ctrl_irq(struct controller *ctrl) | |||
228 | 225 | ||
229 | DECLARE_WAITQUEUE(wait, current); | 226 | DECLARE_WAITQUEUE(wait, current); |
230 | 227 | ||
231 | dbg("%s : start\n", __FUNCTION__); | ||
232 | add_wait_queue(&ctrl->queue, &wait); | 228 | add_wait_queue(&ctrl->queue, &wait); |
233 | if (!pciehp_poll_mode) | 229 | if (!pciehp_poll_mode) |
234 | /* Sleep for up to 1 second */ | 230 | /* Sleep for up to 1 second */ |
@@ -240,7 +236,6 @@ static inline int wait_for_ctrl_irq(struct controller *ctrl) | |||
240 | if (signal_pending(current)) | 236 | if (signal_pending(current)) |
241 | retval = -EINTR; | 237 | retval = -EINTR; |
242 | 238 | ||
243 | dbg("%s : end\n", __FUNCTION__); | ||
244 | return retval; | 239 | return retval; |
245 | } | 240 | } |
246 | 241 | ||