From owner-svn-src-head@FreeBSD.ORG Fri Aug 8 11:47:14 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 B9CB0528 for ; Fri, 8 Aug 2014 11:47:14 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 9183D2676 for ; Fri, 8 Aug 2014 11:47:14 +0000 (UTC) Received: from imp (uid 547) (envelope-from imp@FreeBSD.org) id 2406 by svn.freebsd.org (DragonFly Mail Agent v0.9+); Fri, 08 Aug 2014 11:47:14 +0000 From: Warner Losh Date: Fri, 8 Aug 2014 11:47:14 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r269712 - head/sys/dev/an X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Message-Id: <53e4b8c2.2406.7d826ae@svn.freebsd.org> X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.18 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: Fri, 08 Aug 2014 11:47:14 -0000 Author: imp Date: Fri Aug 8 11:47:14 2014 New Revision: 269712 URL: http://svnweb.freebsd.org/changeset/base/269712 Log: last is set and not used, most likely a cut and paste error from other sysctl setting functions in this module. Modified: head/sys/dev/an/if_an.c Modified: head/sys/dev/an/if_an.c ============================================================================== --- head/sys/dev/an/if_an.c Fri Aug 8 11:47:09 2014 (r269711) +++ head/sys/dev/an/if_an.c Fri Aug 8 11:47:14 2014 (r269712) @@ -270,9 +270,7 @@ SYSCTL_PROC(_hw_an, OID_AUTO, an_dump, C static int sysctl_an_cache_mode(SYSCTL_HANDLER_ARGS) { - int error, last; - - last = an_cache_mode; + int error; switch (an_cache_mode) { case 1: