From owner-svn-src-head@freebsd.org Sun Feb 26 22:15:40 2017 Return-Path: Delivered-To: svn-src-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id CC952CEE725; Sun, 26 Feb 2017 22:15:40 +0000 (UTC) (envelope-from oshogbo@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 9C193F15; Sun, 26 Feb 2017 22:15:40 +0000 (UTC) (envelope-from oshogbo@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id v1QMFdfF031994; Sun, 26 Feb 2017 22:15:39 GMT (envelope-from oshogbo@FreeBSD.org) Received: (from oshogbo@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v1QMFdAY031993; Sun, 26 Feb 2017 22:15:39 GMT (envelope-from oshogbo@FreeBSD.org) Message-Id: <201702262215.v1QMFdAY031993@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: oshogbo set sender to oshogbo@FreeBSD.org using -f From: Mariusz Zaborski Date: Sun, 26 Feb 2017 22:15:39 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r314320 - head/lib/libc/x86/sys X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 26 Feb 2017 22:15:40 -0000 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;