提交 28be6122 编写于 作者: R Rich Felker

reformat clock_adjtime with always-true condition removed

上级 e0b17ef8
......@@ -38,7 +38,6 @@ int clock_adjtime (clockid_t clock_id, struct timex *utx)
{
int r = -ENOSYS;
#ifdef SYS_clock_adjtime64
if (1) {
struct ktimex64 ktx = {
.modes = utx->modes,
.offset = utx->offset,
......@@ -86,7 +85,6 @@ int clock_adjtime (clockid_t clock_id, struct timex *utx)
utx->stbcnt = ktx.stbcnt;
utx->tai = ktx.tai;
}
}
if (SYS_clock_adjtime == SYS_clock_adjtime64 || r!=-ENOSYS)
return __syscall_ret(r);
if ((utx->modes & ADJ_SETOFFSET) && !IS32BIT(utx->time.tv_sec))
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册