lkml.org 
[lkml]   [2021]   [Feb]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH v1 1/2] drivers/base/memory: don't store phys_device in memory blocks
From
Date
[...]

> 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

\
 
 \ /
  Last update: 2021-02-01 14:29    [W:0.055 / U:0.392 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site