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

From: David Hildenbrand
Date: Mon Feb 01 2021 - 08:29:31 EST


[...]

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