diff options
author | scottl <scottl@FreeBSD.org> | 2015-10-16 17:56:43 +0000 |
---|---|---|
committer | scottl <scottl@FreeBSD.org> | 2015-10-16 17:56:43 +0000 |
commit | dfffba1e9869f54427035292cfa8093ad6156747 (patch) | |
tree | ac4f4865d226c82714039ef271983a64f1d9413f /sys/dev/mpr/mprvar.h | |
parent | c010511ad0603785af0d2aa799f3086742984702 (diff) | |
download | FreeBSD-src-dfffba1e9869f54427035292cfa8093ad6156747.zip FreeBSD-src-dfffba1e9869f54427035292cfa8093ad6156747.tar.gz |
Remove _FreeBSD_version check for something that was only an issue with
9-CURRENT.
Obtained from: Netlfix, Inc
MFC after: 3 days
Diffstat (limited to 'sys/dev/mpr/mprvar.h')
-rw-r--r-- | sys/dev/mpr/mprvar.h | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/sys/dev/mpr/mprvar.h b/sys/dev/mpr/mprvar.h index acac44c..306324b 100644 --- a/sys/dev/mpr/mprvar.h +++ b/sys/dev/mpr/mprvar.h @@ -265,9 +265,7 @@ struct mpr_softc { int chain_free_lowwater; u_int enable_ssu; int spinup_wait_time; -#if __FreeBSD_version >= 900030 uint64_t chain_alloc_fail; -#endif struct sysctl_ctx_list sysctl_ctx; struct sysctl_oid *sysctl_tree; char fw_version[16]; @@ -451,11 +449,8 @@ mpr_alloc_chain(struct mpr_softc *sc) sc->chain_free--; if (sc->chain_free < sc->chain_free_lowwater) sc->chain_free_lowwater = sc->chain_free; - } -#if __FreeBSD_version >= 900030 - else + } else sc->chain_alloc_fail++; -#endif return (chain); } |