[PATCH 1/5] mm/memremap_pages: Kill unused __devm_memremap_pages()

Aneesh Kumar K.V aneesh.kumar at linux.ibm.com
Tue Feb 4 04:08:56 AEDT 2020


Dan Williams <dan.j.williams at intel.com> writes:

> Kill this definition that was introduced in commit 41e94a851304 ("add
> devm_memremap_pages") add never used.
>

Reviewed-by: Aneesh Kumar K.V <aneesh.kumar at linux.ibm.com>

> Cc: Christoph Hellwig <hch at lst.de>
> Signed-off-by: Dan Williams <dan.j.williams at intel.com>
> ---
>  include/linux/io.h |    2 --
>  1 file changed, 2 deletions(-)
>
> diff --git a/include/linux/io.h b/include/linux/io.h
> index a59834bc0a11..35e8d84935e0 100644
> --- a/include/linux/io.h
> +++ b/include/linux/io.h
> @@ -79,8 +79,6 @@ void *devm_memremap(struct device *dev, resource_size_t offset,
>  		size_t size, unsigned long flags);
>  void devm_memunmap(struct device *dev, void *addr);
>  
> -void *__devm_memremap_pages(struct device *dev, struct resource *res);
> -
>  #ifdef CONFIG_PCI
>  /*
>   * The PCI specifications (Rev 3.0, 3.2.5 "Transaction Ordering and
> _______________________________________________
> Linux-nvdimm mailing list -- linux-nvdimm at lists.01.org
> To unsubscribe send an email to linux-nvdimm-leave at lists.01.org


More information about the Linuxppc-dev mailing list