Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 4 Feb 2023 16:20:11 GMT
From:      Warner Losh <imp@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: 24c0ba96f1d0 - main - mpt: purge EOL release compatibility
Message-ID:  <202302041620.314GKBjM009920@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by imp:

URL: https://cgit.FreeBSD.org/src/commit/?id=24c0ba96f1d0827c73ddbded7d5187a172a4e93f

commit 24c0ba96f1d0827c73ddbded7d5187a172a4e93f
Author:     Elliott Mitchell <ehem+freebsd@m5p.com>
AuthorDate: 2022-06-23 00:53:47 +0000
Commit:     Warner Losh <imp@FreeBSD.org>
CommitDate: 2023-02-04 16:10:34 +0000

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202302041620.314GKBjM009920>