From 24c0ba96f1d0827c73ddbded7d5187a172a4e93f Mon Sep 17 00:00:00 2001 From: Elliott Mitchell Date: Wed, 22 Jun 2022 17:53:47 -0700 Subject: [PATCH] mpt: purge EOL release compatibility Remove FreeBSD 7.x and earlier compatibility. Reviewed by: imp Pull Request: https://github.com/freebsd/freebsd-src/pull/603 Differential Revision: https://reviews.freebsd.org/D35560 --- sys/dev/mpt/mpt_cam.h | 5 ----- 1 file changed, 5 deletions(-) diff --git a/sys/dev/mpt/mpt_cam.h b/sys/dev/mpt/mpt_cam.h index 080a3c1fe9d9..e292d02396a3 100644 --- a/sys/dev/mpt/mpt_cam.h +++ b/sys/dev/mpt/mpt_cam.h @@ -145,11 +145,6 @@ mpt_wakeup_recovery_thread(struct mpt_softc *mpt) } /************************** Version Compatibility *************************/ -#if __FreeBSD_version < 700031 -#define mpt_sim_alloc(a, b, c, mpt, e, f, g) \ - cam_sim_alloc(a, b, c, mpt, (mpt)->unit, e, f, g) -#else #define mpt_sim_alloc(a, b, c, mpt, e, f, g) \ cam_sim_alloc(a, b, c, mpt, (mpt)->unit, &(mpt)->mpt_lock, e, f, g) -#endif #endif /*_MPT_CAM_H_ */