diff options
author | phk <phk@FreeBSD.org> | 2006-10-02 18:23:37 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 2006-10-02 18:23:37 +0000 |
commit | 638e020bc6857faa5fda80000dcd6c68e81077b3 (patch) | |
tree | 3489b6aebb6a369a6ddad98553ec18fdc627975e /sys/dev/twa | |
parent | 5d888a06551915d7b826dd6177fc33ea8deb877d (diff) | |
download | FreeBSD-src-638e020bc6857faa5fda80000dcd6c68e81077b3.zip FreeBSD-src-638e020bc6857faa5fda80000dcd6c68e81077b3.tar.gz |
Use utc_offset() where applicable, and hide the internals of it
as static variables.
Diffstat (limited to 'sys/dev/twa')
-rw-r--r-- | sys/dev/twa/tw_osl_inline.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/dev/twa/tw_osl_inline.h b/sys/dev/twa/tw_osl_inline.h index a4b4214..f9b1c6a 100644 --- a/sys/dev/twa/tw_osl_inline.h +++ b/sys/dev/twa/tw_osl_inline.h @@ -276,9 +276,7 @@ tw_osl_write_reg_inline(struct tw_cl_ctlr_handle *ctlr_handle, * Return value: local time */ #define tw_osl_get_local_time() \ - (time_second - (tz_minuteswest * 60) - \ - (wall_cmos_clock ? adjkerntz : 0)) - + (time_second - utc_offset()) /* |