[PATCH 03/25] dbench: remove unused double t value

[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]



The value is not used. Nuke it.

Signed-off-by: Luis Chamberlain <mcgrof@xxxxxxxxxx>
---
 dbench.c | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/dbench.c b/dbench.c
index c8f2fee..ca29373 100644
--- a/dbench.c
+++ b/dbench.c
@@ -496,7 +496,7 @@ static void process_opts(int argc, const char **argv)
  int main(int argc, const char *argv[])
 {
 	double total_bytes = 0;
-	double t, latency=0;
+	double latency=0;
 	int i;
 
 	setlinebuf(stdout);
@@ -568,8 +568,6 @@ static void process_opts(int argc, const char **argv)
 		latency = MAX(latency, children[i].worst_latency);
 	}
 
-	t = timeval_elapsed2(&tv_start, &tv_end);
-
 	if (options.machine_readable) {
 		printf(";%g;%d;%d;%.03f;\n", 
 			       throughput,
-- 
2.34.1




[Index of Archives]     [Linux Filesystems Development]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux