git: 6c4813427505 - main - cam: Remove CAM_SIM_LOCK/UNLOCK macros, they are unused.
Warner Losh
imp at FreeBSD.org
Tue May 25 15:19:04 UTC 2021
The branch main has been updated by imp:
URL: https://cgit.FreeBSD.org/src/commit/?id=6c48134275059c55f7ffbc07e3fb61516e670d65
commit 6c48134275059c55f7ffbc07e3fb61516e670d65
Author: Warner Losh <imp at FreeBSD.org>
AuthorDate: 2021-05-25 15:16:29 +0000
Commit: Warner Losh <imp at 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)
{
More information about the dev-commits-src-main
mailing list