X-Git-Url: http://git.openafs.org/?p=openafs.git;a=blobdiff_plain;f=src%2Fafs%2Fafs_osi.c;h=4829073b53b49266c2bb854e08c6a0dae0fc4687;hp=549614762ac2f5bc642e3503be3f76dddaa280b5;hb=e4c2810f;hpb=a4e3c3be697bb99ee4846c99550cd2b52929cdca diff --git a/src/afs/afs_osi.c b/src/afs/afs_osi.c index 5496147..4829073 100644 --- a/src/afs/afs_osi.c +++ b/src/afs/afs_osi.c @@ -205,21 +205,8 @@ afs_osi_SetTime(osi_timeval_t * atv) t.tv_sec = atv->tv_sec; t.tv_nsec = atv->tv_usec * 1000; ksettimer(&t); /* Was -> settimer(TIMEOFDAY, &t); */ -#elif defined(AFS_SUN55_ENV) - stime(atv->tv_sec); #elif defined(AFS_SUN5_ENV) - /* - * To get more than second resolution we can use adjtime. The problem - * is that the usecs from the server are wrong (by now) so it isn't - * worth complicating the following code. - */ - struct stimea { - time_t time; - } sta; - - sta.time = atv->tv_sec; - - stime(&sta, NULL); + stime(atv->tv_sec); #elif defined(AFS_SGI_ENV) struct stimea { sysarg_t time;