diff options
author | John Garry <john.garry@huawei.com> | 2022-09-07 21:34:41 +0800 |
---|---|---|
committer | Joerg Roedel <jroedel@suse.de> | 2022-09-09 09:27:03 +0200 |
commit | 189cb8fec14acf4dee59eb2011519e86d389cd3e (patch) | |
tree | 42fd93c1b6d29310be0630665e9928e77e806bf3 /lib/reed_solomon | |
parent | 8b2818c7be7bc49133c50f384247e9164a225e3f (diff) |
iova: Remove iovad->rcaches check in iova_rcache_get()
The iovad->rcaches check in iova_rcache_get() is pretty much useless
without the same check in iova_rcache_insert().
Instead of adding this symmetric check to fastpath iova_rcache_insert(),
drop the check in iova_rcache_get() in favour of making the IOVA domain
rcache init more robust to failure in future.
Signed-off-by: John Garry <john.garry@huawei.com>
Reviewed-by: Robin Murphy <robin.murphy@arm.com>
Link: https://lore.kernel.org/r/1662557681-145906-4-git-send-email-john.garry@huawei.com
Signed-off-by: Joerg Roedel <jroedel@suse.de>
Diffstat (limited to 'lib/reed_solomon')
0 files changed, 0 insertions, 0 deletions