cam: fix up world compilation after previous

Sponsored by:	Rubicon Communications, LLC ("Netgate")
This commit is contained in:
Mateusz Guzik 2023-04-15 23:11:27 +00:00
parent fd02926a68
commit 1d35493e46

View File

@ -1516,11 +1516,13 @@ cam_ccb_status(union ccb *ccb)
return ((cam_status)(ccb->ccb_h.status & CAM_STATUS_MASK));
}
#ifdef _KERNEL
static inline bool
cam_ccb_success(union ccb *ccb)
{
return (cam_ccb_status(ccb) == CAM_REQ_CMP);
}
#endif
void cam_calc_geometry(struct ccb_calc_geometry *ccg, int extended);