last is set and not used, most likely a cut and paste error from other

sysctl setting functions in this module.
This commit is contained in:
Warner Losh 2014-08-08 11:47:14 +00:00
parent 0f31ca6217
commit 23983bef48
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=269712

View file

@ -270,9 +270,7 @@ SYSCTL_PROC(_hw_an, OID_AUTO, an_dump, CTLTYPE_STRING | CTLFLAG_RW,
static int
sysctl_an_cache_mode(SYSCTL_HANDLER_ARGS)
{
int error, last;
last = an_cache_mode;
int error;
switch (an_cache_mode) {
case 1: