summaryrefslogtreecommitdiffstats
path: root/drivers/acpi/pci_irq.c
diff options
context:
space:
mode:
authorBjorn Helgaas <bjorn.helgaas@hp.com>2009-02-17 22:00:55 +0100
committerLen Brown <len.brown@intel.com>2009-03-17 06:53:29 +0100
commit5f0dccaa81e239477413d0def1133850530f1bbe (patch)
treee1b07674a092d1ba39beada0c333e2be386f07b4 /drivers/acpi/pci_irq.c
parentACPI: pci_link: remove unnecessary null pointer checks (diff)
downloadlinux-5f0dccaa81e239477413d0def1133850530f1bbe.tar.xz
linux-5f0dccaa81e239477413d0def1133850530f1bbe.zip
ACPI: pci_link: simplify list of link devices
We don't need a struct containing a count and a list_head; a simple list_head is sufficient. The list iterators handle empty lists fine. Furthermore, we don't need to check for null list entries because we only add non-null entries. Signed-off-by: Bjorn Helgaas <bjorn.helgaas@hp.com> Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'drivers/acpi/pci_irq.c')
0 files changed, 0 insertions, 0 deletions