diff options
author | Scott Long <scottl@FreeBSD.org> | 2012-08-31 09:42:46 +0000 |
---|---|---|
committer | Scott Long <scottl@FreeBSD.org> | 2012-08-31 09:42:46 +0000 |
commit | 6aedf62f3286790be7021a93481ad265a908ccf1 (patch) | |
tree | 992a9a4541c53c2ae2dba33bc314c565c89e9567 /sys/dev/amr/amr_pci.c | |
parent | 07df15dd9e6db9065f63cf2ae6bf941b63bf2680 (diff) | |
download | src-6aedf62f3286790be7021a93481ad265a908ccf1.tar.gz src-6aedf62f3286790be7021a93481ad265a908ccf1.zip |
Essentially revert r239912. The amr_periodic function hadn't been armed in
over 10 years and was dead code; the previous revision exposed it as such to
CLANG. The solution is to cull the whole thing.
Notes
Notes:
svn path=/head/; revision=239939
Diffstat (limited to 'sys/dev/amr/amr_pci.c')
-rw-r--r-- | sys/dev/amr/amr_pci.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/sys/dev/amr/amr_pci.c b/sys/dev/amr/amr_pci.c index 29afaa3510c3..f47d408764db 100644 --- a/sys/dev/amr/amr_pci.c +++ b/sys/dev/amr/amr_pci.c @@ -331,7 +331,6 @@ amr_pci_attach(device_t dev) */ mtx_init(&sc->amr_list_lock, "AMR List Lock", NULL, MTX_DEF); mtx_init(&sc->amr_hw_lock, "AMR HW Lock", NULL, MTX_DEF); - callout_init(&sc->amr_timeout, CALLOUT_MPSAFE); if ((error = amr_setup_mbox(sc)) != 0) goto out; |