Subject: Re: linux-next: tty tree build warning

From: Rakib Mullick <[email-masked]>
Date: Thu, 21 Jan 2010 10:22:19 +0600

On 1/20/10, Stephen Rothwell <[email-masked]> 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                    [email-masked]
>  http://www.canb.auug.org.au/~sfr/
>
>