Re: [PATCH v2 7/9] memory: remove unused register_hotmemory_notifier()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 2022/9/20 20:06, David Hildenbrand wrote:
> On 20.09.22 04:51, Liu Shixin wrote:
>> Remove unused register_hotmemory_notifier().
>>
>> Signed-off-by: Liu Shixin <liushixin2@xxxxxxxxxx>
>> ---
>>   include/linux/memory.h | 6 ------
>>   1 file changed, 6 deletions(-)
>>
>> diff --git a/include/linux/memory.h b/include/linux/memory.h
>> index aa619464a1df..98d2a2ebcc10 100644
>> --- a/include/linux/memory.h
>> +++ b/include/linux/memory.h
>> @@ -19,7 +19,6 @@
>>   #include <linux/node.h>
>>   #include <linux/compiler.h>
>>   #include <linux/mutex.h>
>> -#include <linux/notifier.h>
>
> ^ why remove that?
>
> register_memory_notifier/unregister_memory_notifier still uses that.
Yes, you're right. I don't notice this point since there is no compile warning.
I will add it back in v2.

Thanks,





[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux