The branch main has been updated by imp:

URL: 
https://cgit.FreeBSD.org/src/commit/?id=6c48134275059c55f7ffbc07e3fb61516e670d65

commit 6c48134275059c55f7ffbc07e3fb61516e670d65
Author:     Warner Losh <[email protected]>
AuthorDate: 2021-05-25 15:16:29 +0000
Commit:     Warner Losh <[email protected]>
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)
 {
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/dev-commits-src-all
To unsubscribe, send any mail to "[email protected]"

Reply via email to