diff options
author | 2016-01-22 22:50:19 +0800 | |
---|---|---|
committer | 2016-02-04 16:03:53 -0600 | |
commit | 0e6053dc6e7a42c8ba9ce6e81adb3350c7df4bc8 (patch) | |
tree | c7f492c0ee6ad434231f524176a9ee33b0678563 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | PCI/AER: Restore pci_ops pointer while calling original pci_ops (diff) | |
download | linux-dev-0e6053dc6e7a42c8ba9ce6e81adb3350c7df4bc8.tar.xz linux-dev-0e6053dc6e7a42c8ba9ce6e81adb3350c7df4bc8.zip |
PCI/AER: Use list_first_entry_or_null() to simplify code
Use list_first_entry_or_null() instead of list_empty() + list_entry() to
simplify the code.
Signed-off-by: Geliang Tang <geliangtang@163.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions