aboutsummaryrefslogtreecommitdiffstats
path: root/lib/libc/x86/sys/__vdso_gettc.c
diff options
context:
space:
mode:
authorMariusz Zaborski <oshogbo@FreeBSD.org>2017-02-26 22:15:39 +0000
committerMariusz Zaborski <oshogbo@FreeBSD.org>2017-02-26 22:15:39 +0000
commitb62c1f2b18a00ff0fa83e07ba9287b7c1d98aab0 (patch)
tree32a1ce151063378cd88dd270d8092ec934498a68 /lib/libc/x86/sys/__vdso_gettc.c
parentba1b6636562e9c3fc6183aab6f7a4e95d9aa7f92 (diff)
downloadsrc-b62c1f2b18a00ff0fa83e07ba9287b7c1d98aab0.tar.gz
src-b62c1f2b18a00ff0fa83e07ba9287b7c1d98aab0.zip
Remove unneeded variable initialization from r314319.
Pointed out by: kib
Notes
Notes: svn path=/head/; revision=314320
Diffstat (limited to 'lib/libc/x86/sys/__vdso_gettc.c')
-rw-r--r--lib/libc/x86/sys/__vdso_gettc.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/libc/x86/sys/__vdso_gettc.c b/lib/libc/x86/sys/__vdso_gettc.c
index 4977d153da20..595d969b9dd4 100644
--- a/lib/libc/x86/sys/__vdso_gettc.c
+++ b/lib/libc/x86/sys/__vdso_gettc.c
@@ -146,7 +146,6 @@ __vdso_init_hpet(uint32_t u)
if (old_map != NULL)
return;
- mode = 0;
if (cap_getmode(&mode) == 0 && mode != 0)
goto fail;
@@ -186,7 +185,6 @@ __vdso_init_hyperv_tsc(void)
int fd;
unsigned int mode;
- mode = 0;
if (cap_getmode(&mode) == 0 && mode != 0)
goto fail;