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

From: Ingo Molnar
Date: Thu Dec 04 2008 - 05:14:21 EST



* 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.

Ingo

------------------->