diff options
author | rajesh.shah@intel.com <rajesh.shah@intel.com> | 2005-10-13 15:05:43 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2005-10-28 18:37:00 -0400 |
commit | 7c8942f993dc069db0e0327a343bbec8a6e96074 (patch) | |
tree | 22e617e853e1af63ebd3953e34cee56f573d442b /drivers/pci/hotplug/shpchp.h | |
parent | ee138334d5eb5ca662b2d69228420c1ccc051e0e (diff) |
[PATCH] shpchp: reduce debug message verbosity
Reduce the number of debug messages generated if shpchp debug is
enabled. I tried to restrict this to removing debug messages that
are either early-driver-debug type messages, or print information
that can be inferred through other debug prints.
Signed-off-by: Rajesh Shah <rajesh.shah@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/pci/hotplug/shpchp.h')
-rw-r--r-- | drivers/pci/hotplug/shpchp.h | 6 |
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 | ||