diff options
author | Bjorn Helgaas <bjorn.helgaas@hp.com> | 2009-02-18 00:00:55 +0300 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2009-03-17 08:53:29 +0300 |
commit | 5f0dccaa81e239477413d0def1133850530f1bbe (patch) | |
tree | e1b07674a092d1ba39beada0c333e2be386f07b4 /ipc/util.c | |
parent | 6eca4b4ca168981d7648be371945c2a21f463a45 (diff) | |
download | linux-5f0dccaa81e239477413d0def1133850530f1bbe.tar.xz |
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 'ipc/util.c')
0 files changed, 0 insertions, 0 deletions