[PATCH 1/8] mm: remove a pointless CONFIG_ZONE_DEVICE check in memremap_pages

Jason Gunthorpe jgg at ziepe.ca
Mon Feb 7 19:22:42 UTC 2022


On Mon, Feb 07, 2022 at 07:32:42AM +0100, Christoph Hellwig wrote:
> memremap.c is only built when CONFIG_ZONE_DEVICE is set, so remove
> the superflous extra check.
> 
> Signed-off-by: Christoph Hellwig <hch at lst.de>
> ---
>  mm/memremap.c | 3 +--
>  1 file changed, 1 insertion(+), 2 deletions(-)

Reviewed-by: Jason Gunthorpe <jgg at nvidia.com>

Jason


More information about the amd-gfx mailing list