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
This commit is contained in:
Elliott Mitchell 2022-06-22 17:53:47 -07:00 committed by Warner Losh
parent 336fbb23de
commit 24c0ba96f1

View File

@ -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_ */