]> git.openfabrics.org - ~shefty/librdmacm.git/commitdiff
Refresh of riostream
authorSean Hefty <sean.hefty@intel.com>
Wed, 24 Oct 2012 22:39:27 +0000 (15:39 -0700)
committerSean Hefty <sean.hefty@intel.com>
Wed, 24 Oct 2012 22:39:27 +0000 (15:39 -0700)
examples/riostream.c

index cc7d8887ae6ba8bc8d7af23932d6c6f5b7803319..ab0dc77b1722772c8d0e24bbfc8c7ac0d4a945ab 100644 (file)
@@ -569,7 +569,7 @@ static int run(void)
                if (ret)
                        goto free;
 
-               for (i = 0; i < TEST_CNT && !fork_pid; i++) {
+               for (i = 0; i < TEST_CNT; i++) {
                        if (test_size[i].option > size_option)
                                continue;
                        init_latency_test(test_size[i].size);
@@ -582,7 +582,7 @@ static int run(void)
                ret = dst_addr ? client_connect() : server_connect();
                if (ret)
                        goto free;
-               for (i = 0; i < TEST_CNT && !fork_pid; i++) {
+               for (i = 0; i < TEST_CNT; i++) {
                        if (test_size[i].option > size_option)
                                continue;
                        init_bandwidth_test(test_size[i].size);