From: Bjorn Helgaas Date: Tue, 17 Feb 2009 21:00:55 +0000 (-0700) Subject: ACPI: pci_link: simplify list of link devices X-Git-Tag: v2.6.30-rc1~199^2~24^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5f0dccaa81e239477413d0def1133850530f1bbe;p=pandora-kernel.git 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 Signed-off-by: Len Brown --- Reading git-diff-tree failed