diff mbox

[batctl] Remove unreachable code in tcpdump

Message ID 1257611585-6627-1-git-send-email-sven.eckelmann@gmx.de
State Accepted, archived
Headers show

Commit Message

Sven Eckelmann Nov. 7, 2009, 4:33 p.m. UTC
Signed-off-by: Sven Eckelmann <sven.eckelmann@gmx.de>
---
 batctl/tcpdump.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)
diff mbox

Patch

diff --git a/batctl/tcpdump.c b/batctl/tcpdump.c
index b96984b..abf20b1 100644
--- a/batctl/tcpdump.c
+++ b/batctl/tcpdump.c
@@ -547,8 +547,6 @@  int tcpdump(int argc, char **argv)
 
 	}
 
-	ret = EXIT_SUCCESS;
-
 out:
 	list_for_each_entry_safe(dump_if, dump_if_tmp, &dump_if_list, list) {
 		if (dump_if->raw_sock)