]> git.ipfire.org Git - people/arne_f/kernel.git/commit
swiotlb: clean up swiotlb_tbl_unmap_single
authorJianxiong Gao <jxgao@google.com>
Thu, 29 Apr 2021 17:33:11 +0000 (17:33 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 7 May 2021 09:11:24 +0000 (11:11 +0200)
commit0990eac80ba59e26c41e3d3c8acec18b93b41af8
treec0a058636ff282ab81917ccb3332e6cdb0833580
parent768cb8a9fcd78f6fe1267bb16584d9997455ed6f
swiotlb: clean up swiotlb_tbl_unmap_single

commit: ca10d0f8e530600ec63c603dbace2c30927d70b7

swiotlb: clean up swiotlb_tbl_unmap_single

Remove a layer of pointless indentation, replace a hard to follow
ternary expression with a plain if/else.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Acked-by: Jianxiong Gao <jxgao@google.com>
Tested-by: Jianxiong Gao <jxgao@google.com>
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Signed-off-by: Jianxiong Gao <jxgao@google.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
kernel/dma/swiotlb.c