diff options
author | Christoph Hellwig <hch@lst.de> | 2017-12-29 08:54:02 +0100 |
---|---|---|
committer | Dan Williams <dan.j.williams@intel.com> | 2018-01-08 11:46:23 -0800 |
commit | 0628b8c650718f4dfedfcdc9ed136bf7e394aae7 (patch) | |
tree | fad43a2d921d6e2a97400fefe37ef6aba17d2073 /include/linux/memremap.h | |
parent | 832d7aa051106c927cae05ced29d3fd31459ed21 (diff) | |
download | linux-0628b8c650718f4dfedfcdc9ed136bf7e394aae7.tar.gz linux-0628b8c650718f4dfedfcdc9ed136bf7e394aae7.tar.bz2 linux-0628b8c650718f4dfedfcdc9ed136bf7e394aae7.zip |
memremap: remove to_vmem_altmap
All callers are gone now.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'include/linux/memremap.h')
-rw-r--r-- | include/linux/memremap.h | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/include/linux/memremap.h b/include/linux/memremap.h index 26e8aaba27d5..3fddcfe57bb0 100644 --- a/include/linux/memremap.h +++ b/include/linux/memremap.h @@ -26,15 +26,6 @@ struct vmem_altmap { unsigned long alloc; }; -#ifdef CONFIG_ZONE_DEVICE -struct vmem_altmap *to_vmem_altmap(unsigned long memmap_start); -#else -static inline struct vmem_altmap *to_vmem_altmap(unsigned long memmap_start) -{ - return NULL; -} -#endif - /* * Specialize ZONE_DEVICE memory into multiple types each having differents * usage. |