commit | 7003e3b1f64d0195ea9d31aed0b096ad38f3cb54 | [log] [tgz] |
---|---|---|
author | Christoph Hellwig <hch@lst.de> | Fri Dec 29 08:54:03 2017 +0100 |
committer | Dan Williams <dan.j.williams@intel.com> | Mon Jan 08 11:46:23 2018 -0800 |
tree | ad2b8ba6141e740e4b8df2b8f595b511e7239b1f | |
parent | 0628b8c650718f4dfedfcdc9ed136bf7e394aae7 [diff] |
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: Christoph Hellwig <hch@lst.de> Reviewed-by: Logan Gunthorpe <logang@deltatee.com> Signed-off-by: Dan Williams <dan.j.williams@intel.com>