diff mbox

[API-NEXT,PATCHv3,5/5] linux-gen: pktio ipc: tests: remove comment about master-slave

Message ID 1481745477-6137-6-git-send-email-maxim.uvarov@linaro.org
State Accepted
Commit 527ee67cb434e5e7c8015fa8c7d15f2ac25b1d20
Headers show

Commit Message

Maxim Uvarov Dec. 14, 2016, 7:57 p.m. UTC
Implementation take care which process to name master and which
slave. Comment is useless.

Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org>

---
 test/linux-generic/pktio_ipc/pktio_ipc1.c | 3 ---
 test/linux-generic/pktio_ipc/pktio_ipc2.c | 3 ---
 2 files changed, 6 deletions(-)

-- 
2.7.1.250.gff4ea60
diff mbox

Patch

diff --git a/test/linux-generic/pktio_ipc/pktio_ipc1.c b/test/linux-generic/pktio_ipc/pktio_ipc1.c
index 838b672..705c205 100644
--- a/test/linux-generic/pktio_ipc/pktio_ipc1.c
+++ b/test/linux-generic/pktio_ipc/pktio_ipc1.c
@@ -52,9 +52,6 @@  static int pktio_run_loop(odp_pool_t pool)
 	start_cycle = odp_time_local();
 	current_cycle = start_cycle;
 
-	/* slave process should always be run after master process to be
-	 * able to create the same pktio.
-	 */
 	for (;;) {
 		if (run_time_sec) {
 			cycle = odp_time_local();
diff --git a/test/linux-generic/pktio_ipc/pktio_ipc2.c b/test/linux-generic/pktio_ipc/pktio_ipc2.c
index fb6f994..daf3841 100644
--- a/test/linux-generic/pktio_ipc/pktio_ipc2.c
+++ b/test/linux-generic/pktio_ipc/pktio_ipc2.c
@@ -49,9 +49,6 @@  static int ipc_second_process(int master_pid)
 	wait = odp_time_local_from_ns(run_time_sec * ODP_TIME_SEC_IN_NS);
 	start_cycle = odp_time_local();
 
-	/* slave process should always be run after master process to be
-	 * able to create the same pktio.
-	 */
 	for (;;) {
 		/*  exit loop if time specified */
 		if (run_time_sec) {