Gitweb: http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=2c20d72aaadd41fdf0a3b6cb8514c2f7b7d263e4 Commit: 2c20d72aaadd41fdf0a3b6cb8514c2f7b7d263e4 Parent: 8984e41d18a545320201950b8721e7ce3ac2a5e7 Author: Jesper Juhl <[EMAIL PROTECTED]> AuthorDate: Tue Aug 21 00:10:50 2007 -0700 Committer: David S. Miller <[EMAIL PROTECTED]> CommitDate: Tue Aug 21 20:59:30 2007 -0700
[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 <[EMAIL PROTECTED]> Signed-off-by: David S. Miller <[EMAIL PROTECTED]> --- net/irda/irmod.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/net/irda/irmod.c b/net/irda/irmod.c index 1900937..8ba703d 100644 --- a/net/irda/irmod.c +++ b/net/irda/irmod.c @@ -128,8 +128,8 @@ static int __init irda_init(void) out_err_3: #ifdef CONFIG_SYSCTL irda_sysctl_unregister(); -#endif out_err_2: +#endif #ifdef CONFIG_PROC_FS irda_proc_unregister(); #endif - To unsubscribe from this list: send the line "unsubscribe git-commits-head" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html