From 6c48134275059c55f7ffbc07e3fb61516e670d65 Mon Sep 17 00:00:00 2001 From: Warner Losh Date: Tue, 25 May 2021 09:16:29 -0600 Subject: [PATCH] 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) {