Re: [PATCH 3/3] ipc: fix warning of not used variable

From: AmÃrico Wang
Date: Thu Dec 04 2008 - 06:25:38 EST


On Thu, Dec 4, 2008 at 10:13 AM, Ingo Molnar <mingo@xxxxxxx> wrote:
>
> * Jianjun Kong <jianjun@xxxxxxxxx> wrote:
>
>>
>> fix this warning:
>> ipc/ipc_sysctl.c:39: warning: 'ipc_auto_callback' defined but not used
>> ipc_auto_callback() just called when CONFIG_PROC_FS was defined.
>>
>>
>> Signed-off-by: Jianjun Kong <jianjun@xxxxxxxxx>
>> ---
>> ipc/ipc_sysctl.c | 2 +-
>> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> NAK.
>
> the proper fix, considering all the possibilities, is below.
>

Already fixed in -mm, please do search lkml archive before posting.

Thanks.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/