svn commit: r269712 - head/sys/dev/an
Warner Losh
imp at FreeBSD.org
Fri Aug 8 11:47:14 UTC 2014
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:
More information about the svn-src-all
mailing list