Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 4 Apr 1998 20:13:21 +0400
From:      =?koi8-r?B?4c7E0sXKIP7F0s7P1w==?= <ache@nagual.pp.ru>
To:        phk@FreeBSD.ORG, current@FreeBSD.ORG
Subject:   minor nit to sys_generic.c
Message-ID:  <19980404201321.47276@nagual.pp.ru>

next in thread | raw e-mail | index | archive | help
Setting atv.tv_usec is unnecessary, it never used.

*** sys_generic.c.bak	Sat Apr  4 17:25:32 1998
--- sys_generic.c	Sat Apr  4 20:10:17 1998
***************
*** 602,611 ****
  		}
  		getmicroruntime(&rtv);
  		timevaladd(&atv, &rtv);
! 	} else {
  		atv.tv_sec = 0;
- 		atv.tv_usec = 0;
- 	}
  	timo = 0;
  retry:
  	ncoll = nselcoll;
--- 602,609 ----
  		}
  		getmicroruntime(&rtv);
  		timevaladd(&atv, &rtv);
! 	} else
  		atv.tv_sec = 0;
  	timo = 0;
  retry:
  	ncoll = nselcoll;
***************
*** 734,743 ****
  		}
  		getmicroruntime(&rtv);
  		timevaladd(&atv, &rtv);
! 	} else {
  		atv.tv_sec = 0;
- 		atv.tv_usec = 0;
- 	}
  	timo = 0;
  retry:
  	ncoll = nselcoll;
--- 732,739 ----
  		}
  		getmicroruntime(&rtv);
  		timevaladd(&atv, &rtv);
! 	} else
  		atv.tv_sec = 0;
  	timo = 0;
  retry:
  	ncoll = nselcoll;

-- 
Andrey A. Chernov
http://www.nagual.pp.ru/~ache/
MTH/SH/HE S-- W-- N+ PEC>+ D A a++ C G>+ QH+(++) 666+>++ Y

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19980404201321.47276>