Return-Path: From: Andrei Emeltchenko To: linux-bluetooth@vger.kernel.org Subject: [PATCHv4 06/12] tools/l2test: Remove unneeded return Date: Tue, 29 Jul 2014 17:20:55 +0300 Message-Id: <1406643661-29323-6-git-send-email-Andrei.Emeltchenko.news@gmail.com> In-Reply-To: <1406643661-29323-1-git-send-email-Andrei.Emeltchenko.news@gmail.com> References: <1405587306-20020-1-git-send-email-Andrei.Emeltchenko.news@gmail.com> <1406643661-29323-1-git-send-email-Andrei.Emeltchenko.news@gmail.com> Sender: linux-bluetooth-owner@vger.kernel.org List-ID: From: Andrei Emeltchenko 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