From 650a7011a8274dc5334ee8415bcaf77405c41200 Mon Sep 17 00:00:00 2001
From: Denys Vlasenko <vda.linux@googlemail.com>
Date: Thu, 26 Nov 2009 07:11:12 +0100
Subject: ntpd: trivial -2 byte code optimization

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
---
 networking/ntpd.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/networking/ntpd.c b/networking/ntpd.c
index e2c3506ed..156cad6cf 100644
--- a/networking/ntpd.c
+++ b/networking/ntpd.c
@@ -442,7 +442,7 @@ adjtime_wrap(void)
 	qsort(peers, offset_cnt, sizeof(peers[0]), offset_compare);
 
 	middle = offset_cnt / 2;
-	if ((offset_cnt & 1) == 0 && middle != 0) {
+	if (middle != 0 && (offset_cnt & 1) == 0) {
 		offset_median = (peers[middle-1]->update.offset + peers[middle]->update.offset) / 2;
 		G.status.rootdelay = (peers[middle-1]->update.delay + peers[middle]->update.delay) / 2;
 		G.status.stratum = MAX(peers[middle-1]->update.status.stratum, peers[middle]->update.status.stratum);
-- 
cgit v1.2.3