diff options
author | Christoph Hellwig <hch@lst.de> | 2021-12-15 09:45:05 +0100 |
---|---|---|
committer | Dan Williams <dan.j.williams@intel.com> | 2021-12-18 08:04:52 -0800 |
commit | e17f7a0bc4daa44a4809f5f2f947aa2aa74d1369 (patch) | |
tree | e7b0741be49ef6eba9ec0bc8ede91a986fc97d5e /drivers/nvdimm | |
parent | de291b5902860d18d6e02000808aeb833ec1feb6 (diff) | |
download | linux-stable-e17f7a0bc4daa44a4809f5f2f947aa2aa74d1369.tar.gz linux-stable-e17f7a0bc4daa44a4809f5f2f947aa2aa74d1369.tar.bz2 linux-stable-e17f7a0bc4daa44a4809f5f2f947aa2aa74d1369.zip |
uio: remove copy_from_iter_flushcache() and copy_mc_to_iter()
These two wrappers are never used.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Link: https://lore.kernel.org/r/20211215084508.435401-2-hch@lst.de
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'drivers/nvdimm')
-rw-r--r-- | drivers/nvdimm/pmem.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/nvdimm/pmem.c b/drivers/nvdimm/pmem.c index 4190c8c46ca8..d225bcfa67cf 100644 --- a/drivers/nvdimm/pmem.c +++ b/drivers/nvdimm/pmem.c @@ -302,9 +302,7 @@ static long pmem_dax_direct_access(struct dax_device *dax_dev, } /* - * Use the 'no check' versions of copy_from_iter_flushcache() and - * copy_mc_to_iter() to bypass HARDENED_USERCOPY overhead. Bounds - * checking, both file offset and device offset, is handled by + * Bounds checking, both file offset and device offset, is handled by * dax_iomap_actor() */ static size_t pmem_copy_from_iter(struct dax_device *dax_dev, pgoff_t pgoff, |