]> git.karo-electronics.de Git - linux-beck.git/commitdiff
x86/PCI: Reword comments
authorBjorn Helgaas <bhelgaas@google.com>
Fri, 24 Jan 2014 17:38:40 +0000 (10:38 -0700)
committerBjorn Helgaas <bhelgaas@google.com>
Thu, 13 Feb 2014 00:31:54 +0000 (17:31 -0700)
Reword comments so they make sense.

Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
arch/x86/pci/acpi.c

index ef7e92068eb160ec0776f60f8ef603de841a9eec..0073348b29603d11d043f25eb2ee05871d78a2f9 100644 (file)
@@ -519,15 +519,12 @@ struct pci_bus *pci_acpi_scan_root(struct acpi_pci_root *root)
        sd->domain = domain;
        sd->node = node;
        sd->companion = device;
-       /*
-        * Maybe the desired pci bus has been already scanned. In such case
-        * it is unnecessary to scan the pci bus with the given domain,busnum.
-        */
+
        bus = pci_find_bus(domain, busnum);
        if (bus) {
                /*
-                * If the desired bus exits, the content of bus->sysdata will
-                * be replaced by sd.
+                * If the desired bus has been scanned already, replace
+                * its bus->sysdata.
                 */
                memcpy(bus->sysdata, sd, sizeof(*sd));
                kfree(info);