cam: Remove CAM_SIM_LOCK/UNLOCK macros, they are unused.

Sponsored by:		Netflix
Reviewed by:		mav@
Differential Revision:	https://reviews.freebsd.org/D30384
This commit is contained in:
Warner Losh 2021-05-25 09:16:29 -06:00
parent 28027f28e6
commit 6c48134275

View File

@ -107,9 +107,6 @@ struct cam_sim {
device_t sim_dev; /* For attached peripherals. */ 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 static __inline u_int32_t
cam_sim_path(const struct cam_sim *sim) cam_sim_path(const struct cam_sim *sim)
{ {