Re: [PATCH v1 1/2] drivers/base/memory: don't store phys_device in memory blocks

David Hildenbrand
2021-02-01T13:29:48Z

[...]

> All warnings (new ones prefixed by >>):
>
> drivers/base/memory.c: In function 'init_memory_block':
>>> drivers/base/memory.c:573:16: warning: variable 'start_pfn' set but not used [-Wunused-but-set-variable]
> 573 | unsigned long start_pfn;
> | ^~~~~~~~~

Indeed, we no longer need start_pfn in init_memory_block().

--
Thanks,

David / dhildenb