Date: Fri, 8 Aug 2014 11:47:14 +0000 (UTC) From: Warner Losh <imp@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r269712 - head/sys/dev/an Message-ID: <53e4b8c2.2406.7d826ae@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?53e4b8c2.2406.7d826ae>