Re: [PATCH] IRDA: Avoid a label defined but not used warning in irda_init()

2007-08-21 Thread David Miller
From: Jesper Juhl <[EMAIL PROTECTED]> 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 b

[PATCH] IRDA: Avoid a label defined but not used warning in irda_init()

2007-08-17 Thread Jesper Juhl
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