]> git.baikalelectronics.ru Git - kernel.git/commit
[IRDA]: Avoid a label defined but not used warning in irda_init()
authorJesper Juhl <jesper.juhl@gmail.com>
Tue, 21 Aug 2007 07:10:50 +0000 (00:10 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Wed, 22 Aug 2007 03:59:30 +0000 (20:59 -0700)
commit6ed948537321d595616dcb1140c8ed9dad5d599e
treea3ace87b1550dd709716b2f1269d84e78d320efb
parentdb4e4a3fa2f0752a989b7dc5219d36b1d7c718c2
[IRDA]: Avoid a label defined but not used warning in irda_init()

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@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/irda/irmod.c