git: 214909d6698d - main - Revert "cam: fix up world compilation after previous"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 16 Apr 2023 00:27:12 UTC
The branch main has been updated by imp: URL: https://cgit.FreeBSD.org/src/commit/?id=214909d6698da52cb8a2c4c0c591264aeb58b4c0 commit 214909d6698da52cb8a2c4c0c591264aeb58b4c0 Author: Warner Losh <imp@FreeBSD.org> AuthorDate: 2023-04-16 00:25:55 +0000 Commit: Warner Losh <imp@FreeBSD.org> CommitDate: 2023-04-16 00:25:55 +0000 Revert "cam: fix up world compilation after previous" This reverts commit 1d35493e4661. It was the wrong fix. 757fc6666b87 has the proper fix to include stdbool for userland. Sponsored by: Netflix --- sys/cam/cam_ccb.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/sys/cam/cam_ccb.h b/sys/cam/cam_ccb.h index 07ccb262023d..a6b12b6a3584 100644 --- a/sys/cam/cam_ccb.h +++ b/sys/cam/cam_ccb.h @@ -1516,13 +1516,11 @@ 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);