Re: [PATCH] x86/apm: Fix a unused function warning

From: zhong jiang
Date: Mon Sep 17 2018 - 05:39:43 EST


On 2018/9/17 17:24, Thomas Gleixner wrote:
> On Mon, 17 Sep 2018, zhong jiang wrote:
>
>> Fix the following compile warning:
>>
>> arch/x86/kernel/apm_32.c:1643:12: warning: ?proc_apm_show? defined but not used [-Wunused-function]
>> static int proc_apm_show(struct seq_file *m, void *v)
> Thanks for taking care, but it's already fixed the same way with:
>
> 002b87d2aace ("x86/APM: Fix build warning when PROC_FS is not enabled")
Fine. Thanks for let me know that. I has missed that.

Thanks,
zhong jiang
> Thanks,
>
> tglx
>
> .
>