iputils: clockdiff: remove unused variable
Subsystems (2)
PATCH 1/1 iputils: clockdiff: remove unused variable
Hello,
attached is a small patch that removes an unused variable.
Cheers,
Signature · 2 lines
Jan Synacek Software Engineer, BaseOS team Brno, Red Hat
Quoted 1 line
From
43edd5f73b1c6d1d6c033076c3ebcd43bf169594Mon Sep 17 00:00:00 2001
From: Jan Synacek <[email protected]>
Date: Mon, 12 Nov 2012 09:31:53 +0100
Subject: [PATCH] clockdiff: remove unused variable
Signed-off-by Jan Synacek <[email protected]>
--- clockdiff.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
clockdiff.c +1 -2
@@ -129,7 +129,7 @@ measure(struct sockaddr_in * addr)int msgcount;int cc, count;fd_set ready; -long sendtime, recvtime, histime, histime1; +long sendtime, recvtime, histime;long min1, min2, diff;long delta1, delta2;struct timeval tv1, tout;
@@ -243,7 +243,6 @@ empty: rtt_sigma = (rtt_sigma *3 +abs (diff-rtt))/4 ; msgcount++; histime =ntohl (((__u32 *)(icp+1 ))[1 ]); - histime1 =ntohl (((__u32 *)(icp+1 ))[2 ]);/* * a hosts using a time format different from * ms. since midnight UT (as per RFC792) should
Signature · 1 line
1.7.11.7
YOSHIFUJI Hideaki
AppliedQuoted 1 line · Jan Synacek
attached is a small patch that removes an unused variable.
Applied, thanks.
Unfortunately this slipped from s2012112. Sorry.
-yoshfuji