dmapool: move debug code to own functions
authorKeith Busch <kbusch@kernel.org>
Thu, 26 Jan 2023 21:51:19 +0000 (13:51 -0800)
committerAndrew Morton <akpm@linux-foundation.org>
Thu, 6 Apr 2023 02:42:39 +0000 (19:42 -0700)
commit52e7d56539794b20fb9458c06292dfd24bba6a2d
treed909b235a97fb6b4c4feb157307de3be2e410321
parent19f504584038f6d27846b19ee413a6ac1ee0f765
dmapool: move debug code to own functions

Clean up the normal path by moving the debug code outside it.

Link: https://lkml.kernel.org/r/20230126215125.4069751-7-kbusch@meta.com
Signed-off-by: Keith Busch <kbusch@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Cc: Matthew Wilcox <willy@infradead.org>
Cc: Tony Battersby <tonyb@cybernetics.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
mm/dmapool.c