mm/dmapool.c: replace open-coded list_for_each_entry_safe()
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Tue, 13 Oct 2020 23:54:35 +0000 (16:54 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 14 Oct 2020 01:38:32 +0000 (18:38 -0700)
commit42286f83f80f58ae2cf3889d35cc60220df49cbb
tree4d3af065cd3a51a3420e3f6940acde46a8f2943e
parent9b53122f616a74ddbbd6c97a3c8294c631a13d15
mm/dmapool.c: replace open-coded list_for_each_entry_safe()

There is a place in the code where open-coded version of
list_for_each_entry_safe() is used.  Replace that with the standard macro.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Cc: Matthew Wilcox <willy@infradead.org>
Link: http://lkml.kernel.org/r/20200814135055.24898-1-andriy.shevchenko@linux.intel.com
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/dmapool.c