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>
This commit is contained in:

committed by
Dan Williams

parent
832d7aa051
commit
0628b8c650
@@ -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.
|
||||
|
Reference in New Issue
Block a user