diff options
author | Kenji Kaneshige <kaneshige.kenji@jp.fujitsu.com> | 2006-02-21 18:45:42 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2006-03-23 17:35:13 -0500 |
commit | 68c0b671491088d79611fa965bbf94b3bc0024a4 (patch) | |
tree | d5e8ba499b378e53edc73b1470a988aefa0a0e0e /drivers/pci/hotplug/shpchp_ctrl.c | |
parent | 09e1218eccf58f6174fa68360a7c8dcfe457fe9b (diff) |
[PATCH] shpchp: Remove unused wait_for_ctrl_irq
The wait_for_ctrl_irq() function in SHPCHP driver is no longer needed.
This patch removes that. This patch has no functional change.
Signed-off-by: Kenji Kaneshige <kaneshige.kenji@jp.fujitsu.com>
Signed-off-by: Kristen Carlson Accardi <kristen.c.accardi@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/pci/hotplug/shpchp_ctrl.c')
-rw-r--r-- | drivers/pci/hotplug/shpchp_ctrl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pci/hotplug/shpchp_ctrl.c b/drivers/pci/hotplug/shpchp_ctrl.c index 1a7003d4ba96..b709328a4145 100644 --- a/drivers/pci/hotplug/shpchp_ctrl.c +++ b/drivers/pci/hotplug/shpchp_ctrl.c | |||
@@ -441,7 +441,7 @@ static int board_added(struct slot *p_slot) | |||
441 | } | 441 | } |
442 | 442 | ||
443 | /* Wait for ~1 second */ | 443 | /* Wait for ~1 second */ |
444 | wait_for_ctrl_irq (ctrl); | 444 | msleep(1000); |
445 | 445 | ||
446 | dbg("%s: slot status = %x\n", __FUNCTION__, p_slot->status); | 446 | dbg("%s: slot status = %x\n", __FUNCTION__, p_slot->status); |
447 | /* Check for a power fault */ | 447 | /* Check for a power fault */ |