Date: Tue, 25 May 2021 15:19:04 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: 6c4813427505 - main - cam: Remove CAM_SIM_LOCK/UNLOCK macros, they are unused. Message-ID: <202105251519.14PFJ4DH000192@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=6c48134275059c55f7ffbc07e3fb61516e670d65 commit 6c48134275059c55f7ffbc07e3fb61516e670d65 Author: Warner Losh <imp@FreeBSD.org> AuthorDate: 2021-05-25 15:16:29 +0000 Commit: Warner Losh <imp@FreeBSD.org> CommitDate: 2021-05-25 15:18:08 +0000 cam: Remove CAM_SIM_LOCK/UNLOCK macros, they are unused. Sponsored by: Netflix Reviewed by: mav@ Differential Revision: https://reviews.freebsd.org/D30384 --- sys/cam/cam_sim.h | 3 --- 1 file changed, 3 deletions(-) diff --git a/sys/cam/cam_sim.h b/sys/cam/cam_sim.h index 956084c41da5..4becc715f13e 100644 --- a/sys/cam/cam_sim.h +++ b/sys/cam/cam_sim.h @@ -107,9 +107,6 @@ struct cam_sim { device_t sim_dev; /* For attached peripherals. */ }; -#define CAM_SIM_LOCK(sim) mtx_lock((sim)->mtx) -#define CAM_SIM_UNLOCK(sim) mtx_unlock((sim)->mtx) - static __inline u_int32_t cam_sim_path(const struct cam_sim *sim) {
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202105251519.14PFJ4DH000192>