From: Bjorn Helgaas Date: Fri, 24 Jan 2014 17:41:11 +0000 (-0700) Subject: x86/PCI: Remove unnecessary local variable initialization X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=8928d5a66df1428fd215e611088822d0bec08f58;p=GitHub%2FLineageOS%2FG12%2Fandroid_kernel_amlogic_linux-4.9.git x86/PCI: Remove unnecessary local variable initialization Signed-off-by: Bjorn Helgaas --- diff --git a/arch/x86/pci/acpi.c b/arch/x86/pci/acpi.c index 4f25ec077552..ef7e92068eb1 100644 --- a/arch/x86/pci/acpi.c +++ b/arch/x86/pci/acpi.c @@ -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