]> err.no Git - linux-2.6/commit
[PATCH] drivers/char/ip2: kill unused code, label
authorJeff Garzik <jeff@garzik.org>
Tue, 3 Oct 2006 08:13:53 +0000 (01:13 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Tue, 3 Oct 2006 15:03:41 +0000 (08:03 -0700)
commitfcc7a8c4636ec9d14680126e9fde39e8411c44ea
treeb2b8ed2a475997ac38a183fa2f36c08f3c422686
parent397f4ebf4f317b1d5ecd678a8559a5cb5c6975c3
[PATCH] drivers/char/ip2: kill unused code, label

Kill warning:

drivers/char/ip2/ip2main.c: In function â\80\98ip2_loadmainâ\80\99:
drivers/char/ip2/ip2main.c:782: warning: label â\80\98out_classâ\80\99 defined but not used

This driver's initialization (and cleanup of errors during init) is
extremely convoluted, and could stand to be transformed into the standard
unwinding-goto style of error cleanup.

Signed-off-by: Jeff Garzik <jeff@garzik.org>
Acked-by: Michael H. Warfield <mhw@wittsend.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/char/ip2/ip2main.c