diff options
author | imp <imp@FreeBSD.org> | 2014-08-08 11:47:14 +0000 |
---|---|---|
committer | imp <imp@FreeBSD.org> | 2014-08-08 11:47:14 +0000 |
commit | eec65f798a16368d85179a53de8cd97b5af5cfd0 (patch) | |
tree | 21181d5aa0bcc602cbcfde679099896830cfbfea /sys/dev/an | |
parent | dea5d22b13ab2c033d9d79162100c04933f8616a (diff) | |
download | FreeBSD-src-eec65f798a16368d85179a53de8cd97b5af5cfd0.zip FreeBSD-src-eec65f798a16368d85179a53de8cd97b5af5cfd0.tar.gz |
last is set and not used, most likely a cut and paste error from other
sysctl setting functions in this module.
Diffstat (limited to 'sys/dev/an')
-rw-r--r-- | sys/dev/an/if_an.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/dev/an/if_an.c b/sys/dev/an/if_an.c index e9c0ed5..7067520 100644 --- a/sys/dev/an/if_an.c +++ b/sys/dev/an/if_an.c @@ -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: |