]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
[PATCH] Calgary IOMMU: calgary_init_one_nontraslated() can return void
authorMuli Ben-Yehuda <muli@il.ibm.com>
Tue, 26 Sep 2006 08:52:31 +0000 (10:52 +0200)
committerAndi Kleen <andi@basil.nowhere.org>
Tue, 26 Sep 2006 08:52:31 +0000 (10:52 +0200)
Signed-off-by: Muli Ben-Yehuda <muli@il.ibm.com>
Signed-off-by: Jon Mason <jdmason@us.ibm.com>
Signed-off-by: Andi Kleen <ak@suse.de>
arch/x86_64/kernel/pci-calgary.c

index 7302834718c8742522717f3fcc67b2815dc555cc..f541fb564d92b048f99c2fe2ce733c86e2bcdf7f 100644 (file)
@@ -784,13 +784,11 @@ static inline unsigned int __init locate_register_space(struct pci_dev *dev)
        return address;
 }
 
-static int __init calgary_init_one_nontraslated(struct pci_dev *dev)
+static void __init calgary_init_one_nontraslated(struct pci_dev *dev)
 {
        pci_dev_get(dev);
        dev->sysdata = NULL;
        dev->bus->self = dev;
-
-       return 0;
 }
 
 static int __init calgary_init_one(struct pci_dev *dev)