Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 28 Jun 2021 22:24:10 GMT
From:      Warner Losh <imp@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: 2b0987023804 - main - cam: Remove CAM_TRUE and CAM_FALSE, they are unused and duplicate bool
Message-ID:  <202106282224.15SMOASU048923@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by imp:

URL: https://cgit.FreeBSD.org/src/commit/?id=2b09870238048cb2bd911b2e3dfb281c72ef1fb8

commit 2b09870238048cb2bd911b2e3dfb281c72ef1fb8
Author:     Warner Losh <imp@FreeBSD.org>
AuthorDate: 2021-06-28 22:03:01 +0000
Commit:     Warner Losh <imp@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 */
 
 /*



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202106282224.15SMOASU048923>