diff mbox

Test: remove unreachable code

Message ID 1393119827-35224-1-git-send-email-mike.holmes@linaro.org
State Accepted, archived
Commit 545c965f36cec116c8bd5b20fd35f185a188f149
Headers show

Commit Message

Mike Holmes Feb. 23, 2014, 1:43 a.m. UTC
Signed-off-by: Mike Holmes <mike.holmes@linaro.org>
---
 test/packet/odp_example_pktio.c               | 4 ++--
 test/packet_netmap/odp_example_pktio_netmap.c | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)
diff mbox

Patch

diff --git a/test/packet/odp_example_pktio.c b/test/packet/odp_example_pktio.c
index 15e00ce..875830e 100644
--- a/test/packet/odp_example_pktio.c
+++ b/test/packet/odp_example_pktio.c
@@ -186,7 +186,7 @@  static void *pktio_queue_thread(void *arg)
 		}
 	}
 
-	return arg;
+/* unreachable */
 }
 
 /**
@@ -260,7 +260,7 @@  static void *pktio_ifburst_thread(void *arg)
 		}
 	}
 
-	return arg;
+/* unreachable */
 }
 
 /**
diff --git a/test/packet_netmap/odp_example_pktio_netmap.c b/test/packet_netmap/odp_example_pktio_netmap.c
index bdfc5cd..2d74f8a 100644
--- a/test/packet_netmap/odp_example_pktio_netmap.c
+++ b/test/packet_netmap/odp_example_pktio_netmap.c
@@ -183,7 +183,7 @@  static void *pktio_queue_thread(void *arg)
 		}
 	}
 
-	return arg;
+/* unreachable */
 }
 
 /**