diff options
author | Christoph Hellwig <[email protected]> | 2017-12-29 08:54:03 +0100 |
---|---|---|
committer | Dan Williams <[email protected]> | 2018-01-08 11:46:23 -0800 |
commit | 7003e3b1f64d0195ea9d31aed0b096ad38f3cb54 (patch) | |
tree | ad2b8ba6141e740e4b8df2b8f595b511e7239b1f /lib/memory-notifier-error-inject.c | |
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 <[email protected]>
Reviewed-by: Logan Gunthorpe <[email protected]>
Signed-off-by: Dan Williams <[email protected]>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions