Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=407f452b05f9e5d019c07077d05238bca1b45c4c
Commit:     407f452b05f9e5d019c07077d05238bca1b45c4c
Parent:     a57ed79ef1b71f6da44ebeabb41d019d172fb261
Author:     Kenji Kaneshige <[EMAIL PROTECTED]>
AuthorDate: Mon Nov 13 15:13:00 2006 -0800
Committer:  Greg Kroah-Hartman <[EMAIL PROTECTED]>
CommitDate: Fri Dec 1 14:36:59 2006 -0800

    pciehp: remove unnecessary free_irq
    
    This patch fixes the problem that the following error messages is
    reported when pciehp driver is rmmoded.
    
        Trying to free already-free IRQ XX
    
    The cause of this problem is that pciehp driver is doing unknown 2nd
    free_irq at driver unloading. This patch removes this unknown 2nd
    free_irq call.
    
    Note: The pciehp driver should be adapted to standard device driver
    mode.
    
    Signed-off-by: Kenji Kaneshige <[EMAIL PROTECTED]>
    Signed-off-by: Kristen Carlson Accardi <[EMAIL PROTECTED]>
    Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]>
---
 drivers/pci/hotplug/pciehp_core.c |    7 +------
 1 files changed, 1 insertions(+), 6 deletions(-)

diff --git a/drivers/pci/hotplug/pciehp_core.c 
b/drivers/pci/hotplug/pciehp_core.c
index f93e81e..f13f313 100644
--- a/drivers/pci/hotplug/pciehp_core.c
+++ b/drivers/pci/hotplug/pciehp_core.c
@@ -521,14 +521,9 @@ static void __exit unload_pciehpd(void)
 
 }
 
-static int hpdriver_context = 0;
-
 static void pciehp_remove (struct pcie_device *device)
 {
-       printk("%s ENTRY\n", __FUNCTION__);     
-       printk("%s -> Call free_irq for irq = %d\n",  
-               __FUNCTION__, device->irq);
-       free_irq(device->irq, &hpdriver_context);
+       /* XXX - Needs to be adapted to device driver model */
 }
 
 #ifdef CONFIG_PM
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to