From 578cdc35e645489823f322b09632fca2fd7b2c31 Mon Sep 17 00:00:00 2001 From: Jeffrey Altman Date: Mon, 9 Apr 2012 07:18:32 -0400 Subject: [PATCH] rx: remove peer burst elements from rx/test Subsequent patchsets will turn rx_peer into an opaque object and remove the burst elements entirely from the tree. For now remove them from rx/test Change-Id: I728f7b74497701c0ef965009dff5550e1b153696 Reviewed-on: http://gerrit.openafs.org/7130 Tested-by: BuildBot Reviewed-by: Jeffrey Altman Tested-by: Jeffrey Altman --- src/rx/test/testclient.c | 19 ------------------- 1 file changed, 19 deletions(-) diff --git a/src/rx/test/testclient.c b/src/rx/test/testclient.c index ebc0acbaf..949a8bc2d 100644 --- a/src/rx/test/testclient.c +++ b/src/rx/test/testclient.c @@ -43,9 +43,6 @@ int timeReadvs = 0; int print = 1, eventlog = 0, rxlog = 0; int fillPackets; -int burst; -struct clock burstTime; -struct clock retryTime; FILE *debugFile; int timeout; struct clock waitTime, computeTime; @@ -145,14 +142,6 @@ main(int argc, char **argv) #else fprintf(stderr, "ERROR: Compiled without RXDEBUG\n"); #endif - } - else if (strcmp(*argv, "-burst") == 0) { - burst = atoi(*++argv), argc--; - burstTime.sec = atoi(*++argv), argc--; - burstTime.usec = atoi(*++argv), argc--; - } else if (strcmp(*argv, "-retry") == 0) { - retryTime.sec = atoi(*++argv), argc--; - retryTime.usec = atoi(*++argv), argc--; } else if (strcmp(*argv, "-timeout") == 0) timeout = atoi(*++argv), argc--; else if (strcmp(*argv, "-fill") == 0) @@ -238,14 +227,6 @@ main(int argc, char **argv) if (!conn) Abort("unable to make a new connection"); - /* Set initial parameters. This is (currently) not the approved interface */ - peer = rx_PeerOf(conn); - if (burst) - peer->burstSize = peer->burst = burst; - if (!clock_IsZero(&burstTime)) - peer->burstWait = burstTime; - if (!clock_IsZero(&retryTime)) - peer->rtt = _8THMSEC(&retryTime); if (sendFile) SendFile(sendFile, conn); else { -- 2.39.5