diff options
author | 2023-01-26 13:51:25 -0800 | |
---|---|---|
committer | 2023-04-05 19:42:41 -0700 | |
commit | 2d55c16c0c54325bf15286cfa6ba6c268036b9e4 (patch) | |
tree | 415822a2abc80d0897b69c0c3e9b03a4981fa3a6 /mm/swap_state.c | |
parent | dmapool: link blocks across pages (diff) | |
download | wireguard-linux-2d55c16c0c54325bf15286cfa6ba6c268036b9e4.tar.xz wireguard-linux-2d55c16c0c54325bf15286cfa6ba6c268036b9e4.zip |
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>
Diffstat (limited to 'mm/swap_state.c')
0 files changed, 0 insertions, 0 deletions