git: 2b0987023804 - main - cam: Remove CAM_TRUE and CAM_FALSE, they are unused and duplicate bool
Warner Losh
imp at FreeBSD.org
Mon Jun 28 22:24:11 UTC 2021
The branch main has been updated by imp:
URL: https://cgit.FreeBSD.org/src/commit/?id=2b09870238048cb2bd911b2e3dfb281c72ef1fb8
commit 2b09870238048cb2bd911b2e3dfb281c72ef1fb8
Author: Warner Losh <imp at FreeBSD.org>
AuthorDate: 2021-06-28 22:03:01 +0000
Commit: Warner Losh <imp at FreeBSD.org>
CommitDate: 2021-06-28 22:13:03 +0000
cam: Remove CAM_TRUE and CAM_FALSE, they are unused and duplicate bool
These were in the original CAM commit in 3.0, but were not used there,
nor have they been used since then. They also duplicate the now-standard
bool type. Remove them.
Reviewed by: scottl@
Sponsored by: Netflix
Differential Revision: https://reviews.freebsd.org/D30879
---
sys/cam/cam_ccb.h | 3 ---
1 file changed, 3 deletions(-)
diff --git a/sys/cam/cam_ccb.h b/sys/cam/cam_ccb.h
index f0150d680d2f..5b5e24904996 100644
--- a/sys/cam/cam_ccb.h
+++ b/sys/cam/cam_ccb.h
@@ -1300,9 +1300,6 @@ struct ccb_eng_exec { /* This structure must match SCSIIO size */
#define CAM_SUCCESS 0 /* For signaling general success */
-#define CAM_FALSE 0
-#define CAM_TRUE 1
-
#define XPT_CCB_INVALID -1 /* for signaling a bad CCB to free */
/*
More information about the dev-commits-src-main
mailing list