Re: [PATCH] kprobes: remove redundant config check

From: Masami Hiramatsu
Date: Tue Jun 10 2008 - 15:36:59 EST


Abhishek Sagar wrote:
> Hi,
>
> I noticed that there's a CONFIG_KPROBES check inside kernel/kprobes.c,
> which seems redundant. Can be removed?

Yes, it can be removed, because kernel/kprobes.c is not complied when
CONFIG_KPROBES=n.

Thank you,

>
> Diff'd against v2.6.26-rc5.
>
>
> Signed-off-by: Abhishek Sagar <sagar.abhishek@xxxxxxxxx>
Acked-by: Masami Hiramatsu <mhiramat@xxxxxxxxxx>

--
Masami Hiramatsu

Software Engineer
Hitachi Computer Products (America) Inc.
Software Solutions Division

e-mail: mhiramat@xxxxxxxxxx

--
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/