From owner-svn-src-head@FreeBSD.ORG Sun Feb 23 22:29:59 2014 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id A23D9BC0; Sun, 23 Feb 2014 22:29:59 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 8D3FE1C43; Sun, 23 Feb 2014 22:29:59 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s1NMTxjS064802; Sun, 23 Feb 2014 22:29:59 GMT (envelope-from ian@svn.freebsd.org) Received: (from ian@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s1NMTxRd064801; Sun, 23 Feb 2014 22:29:59 GMT (envelope-from ian@svn.freebsd.org) Message-Id: <201402232229.s1NMTxRd064801@svn.freebsd.org> From: Ian Lepore Date: Sun, 23 Feb 2014 22:29:59 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r262408 - head/sys/arm/ti/twl 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.17 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, 23 Feb 2014 22:29:59 -0000 Author: ian Date: Sun Feb 23 22:29:59 2014 New Revision: 262408 URL: http://svnweb.freebsd.org/changeset/base/262408 Log: Eliminate an unused-var warning by wrapping #if 0 around some tables of values that were probably entered "for completeness" from a datasheet, and for all I know may be useful/necessary some day. Modified: head/sys/arm/ti/twl/twl_vreg.c Modified: head/sys/arm/ti/twl/twl_vreg.c ============================================================================== --- head/sys/arm/ti/twl/twl_vreg.c Sun Feb 23 22:27:14 2014 (r262407) +++ head/sys/arm/ti/twl/twl_vreg.c Sun Feb 23 22:29:59 2014 (r262408) @@ -138,6 +138,7 @@ static const uint16_t twl4030_vsim_volta static const uint16_t twl4030_vdac_voltages[] = { 1200, 1300, 1800, 1800 }; +#if 0 /* vdd1, vdd2, vdio, not currently used. */ static const uint16_t twl4030_vdd1_voltages[] = { 800, 1450 }; @@ -147,6 +148,7 @@ static const uint16_t twl4030_vdd2_volta static const uint16_t twl4030_vio_voltages[] = { 1800, 1850 }; +#endif static const uint16_t twl4030_vintana2_voltages[] = { 2500, 2750 };