Re: linux-next: tty tree build warning

Rakib Mullick
2010-01-21T04:22:40Z

On 1/20/10, Stephen Rothwell <sfr@canb.auug.org.au> wrote:
> Hi Greg,
>
> Today's linux-next build (x86_64 allmodconfig) produced this warning:
>
> drivers/char/ip2/ip2main.c:511: warning: 'ip2_setup' defined but not used
>
Can we use module parameters? A check could be made if parameter hasn't
passed then we'll just return.

> Introduced by commit 3f042287578018e0dc1c38b6f684767e657db62f ("ip2:
> remove #ifdef MODULE from ip2main.c").
>
> __setup() is a noop if CONFIG_MODULE is defined.
>
> --
> Cheers,
> Stephen Rothwell sfr@canb.auug.org.au
> http://www.canb.auug.org.au/~sfr/
>
>