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

From: AmÃrico Wang
Date: Thu Dec 04 2008 - 06:34:58 EST


On Thu, Dec 4, 2008 at 10:12 AM, Ingo Molnar <mingo@xxxxxxx> wrote:
>
>
> NAK. Warnings do not need to be "fixed", then need to be looked at and
> then there are two approaches:
>
> 1) GCC is wrong => annotate the code
> 2) GCC is right => fix the code
>

Gcc is correct.

The only user of print_unload_info() is m_show() which is protected by
CONFIG_PROC_FS.
--
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/