ACPI: pci_link: simplify list of link devices
authorBjorn Helgaas <bjorn.helgaas@hp.com>
Tue, 17 Feb 2009 21:00:55 +0000 (14:00 -0700)
committerLen Brown <len.brown@intel.com>
Tue, 17 Mar 2009 05:53:29 +0000 (01:53 -0400)
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>
drivers/acpi/pci_link.c

Simple merge