* [PATCH] iputils: clockdiff: remove unused variable
@ 2012-11-12 8:38 Jan Synacek
2012-11-12 13:45 ` YOSHIFUJI Hideaki
0 siblings, 1 reply; 2+ messages in thread
From: Jan Synacek @ 2012-11-12 8:38 UTC (permalink / raw)
To: yoshfuji; +Cc: netdev
[-- Attachment #1: Type: text/plain, Size: 138 bytes --]
Hello,
attached is a small patch that removes an unused variable.
Cheers,
--
Jan Synacek
Software Engineer, BaseOS team Brno, Red Hat
[-- Attachment #2: 0001-clockdiff-remove-unused-variable.patch --]
[-- Type: text/x-patch, Size: 1001 bytes --]
>From 43edd5f73b1c6d1d6c033076c3ebcd43bf169594 Mon Sep 17 00:00:00 2001
From: Jan Synacek <jsynacek@redhat.com>
Date: Mon, 12 Nov 2012 09:31:53 +0100
Subject: [PATCH] clockdiff: remove unused variable
Signed-off-by: Jan Synacek <jsynacek@redhat.com>
---
clockdiff.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/clockdiff.c b/clockdiff.c
index 32590d7..7c1ea1b 100644
--- a/clockdiff.c
+++ b/clockdiff.c
@@ -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
--
1.7.11.7
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] iputils: clockdiff: remove unused variable
2012-11-12 8:38 [PATCH] iputils: clockdiff: remove unused variable Jan Synacek
@ 2012-11-12 13:45 ` YOSHIFUJI Hideaki
0 siblings, 0 replies; 2+ messages in thread
From: YOSHIFUJI Hideaki @ 2012-11-12 13:45 UTC (permalink / raw)
To: Jan Synacek; +Cc: 'netdev@vger.kernel.org', YOSHIFUJI Hideaki
(2012年11月12日 17:38), Jan Synacek wrote:
> attached is a small patch that removes an unused variable.
Applied, thanks.
Unfortunately this slipped from s2012112. Sorry.
-yoshfuji
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-11-12 13:45 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-11-12 8:38 [PATCH] iputils: clockdiff: remove unused variable Jan Synacek
2012-11-12 13:45 ` YOSHIFUJI Hideaki
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).