Re: [PATCH] module: Kill warning: label 'free_init' defined but not used

From: Rusty Russell
Date: Wed Mar 25 2009 - 18:53:20 EST


On Thursday 26 March 2009 06:13:06 Geert Uytterhoeven wrote:
> On m68k (which doesn't do SMP), I get:
>
> | kernel/module.c:2291: warning: label 'free_init' defined but not used
>
> which was introduced by commit 6e2b75740bed35df98b8113300579e13ed2ce848
> ("module: fix refptr allocation and release order").
> Move the label inside the #ifdef, as the goto is protected by the same #ifdef.

Thanks, already in my tree. I'll get off my ass and push to Linus in next
couple of days.

Thanks!
Rusty.
--
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/