[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20070821.001134.58787844.davem@davemloft.net>
Date: Tue, 21 Aug 2007 00:11:34 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: jesper.juhl@...il.com
Cc: samuel@...tiz.org, linux-kernel@...r.kernel.org, dagb@...uit.no,
jt@....hp.com
Subject: Re: [PATCH] IRDA: Avoid a label defined but not used warning in
irda_init()
From: Jesper Juhl <jesper.juhl@...il.com>
Date: Fri, 17 Aug 2007 23:22:33 +0200
> Hi,
>
> Easily avoidable compiler warnings bug me.
>
>
> Building irmod without CONFIG_SYSCTL currently results in :
> net/irda/irmod.c:132: warning: label 'out_err_2' defined but not used
>
> But that can easily be avoided by simply moving the label inside
> the existing "#ifdef CONFIG_SYSCTL" one line above it.
>
> This patch moves the label and buys us one less warning with no
> ill effects.
>
>
> Signed-off-by: Jesper Juhl <jesper.juhl@...il.com>
Applied, thanks Jesper.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists