Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 26 Feb 2017 22:15:39 +0000 (UTC)
From:      Mariusz Zaborski <oshogbo@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r314320 - head/lib/libc/x86/sys
Message-ID:  <201702262215.v1QMFdAY031993@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: oshogbo
Date: Sun Feb 26 22:15:39 2017
New Revision: 314320
URL: https://svnweb.freebsd.org/changeset/base/314320

Log:
  Remove unneeded variable initialization from r314319.
  
  Pointed out by:	kib

Modified:
  head/lib/libc/x86/sys/__vdso_gettc.c

Modified: head/lib/libc/x86/sys/__vdso_gettc.c
==============================================================================
--- head/lib/libc/x86/sys/__vdso_gettc.c	Sun Feb 26 22:07:26 2017	(r314319)
+++ head/lib/libc/x86/sys/__vdso_gettc.c	Sun Feb 26 22:15:39 2017	(r314320)
@@ -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;
 



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