Skip to content
Commit 7003e3b1 authored by Christoph Hellwig's avatar Christoph Hellwig Committed by Dan Williams
Browse files

memremap: simplify duplicate region handling in devm_memremap_pages



__radix_tree_insert already checks for duplicates and returns -EEXIST in
that case, so remove the duplicate (and racy) duplicates check.

Signed-off-by: default avatarChristoph Hellwig <hch@lst.de>
Reviewed-by: default avatarLogan Gunthorpe <logang@deltatee.com>
Signed-off-by: default avatarDan Williams <dan.j.williams@intel.com>
parent 0628b8c6
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment