From: Andrei Emeltchenko <andrei.emeltchenko@xxxxxxxxx> Remove dead code after exit() --- tools/l2test.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/tools/l2test.c b/tools/l2test.c index ffad7c4..67ca70a 100644 --- a/tools/l2test.c +++ b/tools/l2test.c @@ -768,8 +768,6 @@ static void do_listen(void (*handler)(int sk)) exit(0); } - return; - error: close(sk); exit(1); -- 1.9.1 -- To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html