From cadbaeb4e4b33a778374fe05b60aa51cd53882ad Mon Sep 17 00:00:00 2001
From: Aomx <aomx@riseup.net>
Date: Thu, 14 Jul 2016 17:55:15 +0200
Subject: [PATCH] removed debug printfs

---
 gtests/net/packetdrill/packet_to_string_test.c | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/gtests/net/packetdrill/packet_to_string_test.c b/gtests/net/packetdrill/packet_to_string_test.c
index b2f63e5a..5c2066ae 100644
--- a/gtests/net/packetdrill/packet_to_string_test.c
+++ b/gtests/net/packetdrill/packet_to_string_test.c
@@ -255,9 +255,6 @@ static void test_sctp_ipv6_packet_to_string(void)
 	char *error = NULL;
 	enum packet_parse_result_t result =
 		parse_packet(packet, sizeof(data), ETHERTYPE_IPV6, &error);
-	if (result != PACKET_OK) {
-		printf("error was %s\n", error);
-	}
 	assert(result == PACKET_OK);
 	assert(error == NULL);
 
@@ -266,9 +263,6 @@ static void test_sctp_ipv6_packet_to_string(void)
 
 	/* Test a DUMP_SHORT dump */
 	status = packet_to_string(packet, DUMP_SHORT, &dump, &error);
-	if (status != STATUS_OK) {
-		printf("error was %s\n", error);
-	}
 	assert(status == STATUS_OK);
 	assert(error == NULL);
 	printf("dump = '%s'\n", dump);
-- 
GitLab