diff options
author | Keith Busch <kbusch@kernel.org> | 2023-01-26 13:51:25 -0800 |
---|---|---|
committer | Andrew Morton <akpm@linux-foundation.org> | 2023-06-09 16:25:17 -0700 |
commit | 9f297db35667021925b67e27d81463e38445041c (patch) | |
tree | d244f3c79a3fdc50841e3a190e232591eb873fb6 /mm/gup.c | |
parent | adef080382637f207c68e8ad633481d9b9332b63 (diff) |
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
Fixes: 2d55c16c0c54 ("dmapool: create/destroy cleanup")
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>
Diffstat (limited to 'mm/gup.c')
0 files changed, 0 insertions, 0 deletions