Clean up xgi_pcie_heap_check
authorIan Romanick <idr@us.ibm.com>
Sat, 30 Jun 2007 04:15:33 +0000 (21:15 -0700)
committerIan Romanick <idr@us.ibm.com>
Sat, 30 Jun 2007 04:15:33 +0000 (21:15 -0700)
commit4403540776c8ed3c2e28f26b6dacaab0b9e40e05
treebb094ddb67d5e50835704278198e88b0237df5f3
parent4c4780bc8e5bf01b2b920c6b8de4ddbd0256c81f
Clean up xgi_pcie_heap_check

The whole purpose of xgi_pcie_heap_check is to log information about
entries on the used_list.  If XGI_DEBUG is not set, it doesn't print
anything.  Therefore we can #ifdef the whole function body.

Convert open-code list iteration to use list_for_each_entry.
linux-core/xgi_pcie.c