x86/PCI: Remove unnecessary local variable initialization
authorBjorn Helgaas <bhelgaas@google.com>
Fri, 24 Jan 2014 17:41:11 +0000 (10:41 -0700)
committerBjorn Helgaas <bhelgaas@google.com>
Thu, 13 Feb 2014 00:31:54 +0000 (17:31 -0700)
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
arch/x86/pci/acpi.c

index 4f25ec0..ef7e920 100644 (file)
@@ -473,11 +473,11 @@ probe_pci_root_info(struct pci_root_info *info, struct acpi_device *device,
 struct pci_bus *pci_acpi_scan_root(struct acpi_pci_root *root)
 {
        struct acpi_device *device = root->device;
-       struct pci_root_info *info = NULL;
+       struct pci_root_info *info;
        int domain = root->segment;
        int busnum = root->secondary.start;
        LIST_HEAD(resources);
-       struct pci_bus *bus = NULL;
+       struct pci_bus *bus;
        struct pci_sysdata *sd;
        int node;
 #ifdef CONFIG_ACPI_NUMA