]> www.infradead.org Git - users/jedix/linux-maple.git/commit
dmapool: create/destroy cleanup
authorKeith Busch <kbusch@kernel.org>
Thu, 26 Jan 2023 21:51:25 +0000 (13:51 -0800)
committerAndrew Morton <akpm@linux-foundation.org>
Fri, 10 Feb 2023 23:36:06 +0000 (15:36 -0800)
commit471dd6a440e26d7ea3f519a4c008150bab83c8e3
tree51981f0b78bf6ca7bc7b72df70bcd9bbb7e23904
parent7808617b1847c48544574e8dd7d807cd67b01eb7
dmapool: create/destroy cleanup

Set the 'empty' bool directly from the result of the function that
determines its value instead of adding additional logic.

Link: https://lkml.kernel.org/r/20230126215125.4069751-13-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