Skip to content

Commit

Permalink
dmapool: create/destroy cleanup
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
keithbusch authored and akpm00 committed Apr 6, 2023
1 parent a4de12a commit 2d55c16
Showing 1 changed file with 205 additions and 202 deletions.
Loading

0 comments on commit 2d55c16

Please sign in to comment.