]> 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>
Wed, 5 Apr 2023 23:02:05 +0000 (16:02 -0700)
commit77a7a8717fb8f1a9d475fdd31110f17242f4a4af
tree598827828f8beca318577566d0dc6de6b6ee6cc1
parent8e76bde7dae62ba9838eef82242eb73a49bcfeba
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