diff options
author | Kenneth R Westerback <krw@cvs.openbsd.org> | 2019-12-08 13:05:13 +0000 |
---|---|---|
committer | Kenneth R Westerback <krw@cvs.openbsd.org> | 2019-12-08 13:05:13 +0000 |
commit | ddbf8d393a242e591cdad828bd37ebc521623e4f (patch) | |
tree | 52571c5b2bc6e3b33e49b2f17cc9fbca0c0488e0 /sys/scsi/scsiconf.h | |
parent | 2e7557411615307dba9406eb6a92fba2d796d506 (diff) |
Various cleanup tweaks. 'return' is not a function. KNF. Whitespace,
Comment fixes.
Diffstat (limited to 'sys/scsi/scsiconf.h')
-rw-r--r-- | sys/scsi/scsiconf.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/sys/scsi/scsiconf.h b/sys/scsi/scsiconf.h index 4a53f001acd..89fcc1dab13 100644 --- a/sys/scsi/scsiconf.h +++ b/sys/scsi/scsiconf.h @@ -1,4 +1,4 @@ -/* $OpenBSD: scsiconf.h,v 1.181 2019/12/05 18:42:14 krw Exp $ */ +/* $OpenBSD: scsiconf.h,v 1.182 2019/12/08 13:05:12 krw Exp $ */ /* $NetBSD: scsiconf.h,v 1.35 1997/04/02 02:29:38 mycroft Exp $ */ /* @@ -112,7 +112,7 @@ _2btol(u_int8_t *bytes) u_int32_t rv; rv = (bytes[0] << 8) | bytes[1]; - return (rv); + return rv; } static __inline u_int32_t @@ -121,7 +121,7 @@ _3btol(u_int8_t *bytes) u_int32_t rv; rv = (bytes[0] << 16) | (bytes[1] << 8) | bytes[2]; - return (rv); + return rv; } static __inline u_int32_t @@ -131,7 +131,7 @@ _4btol(u_int8_t *bytes) rv = (bytes[0] << 24) | (bytes[1] << 16) | (bytes[2] << 8) | bytes[3]; - return (rv); + return rv; } static __inline u_int64_t @@ -144,7 +144,7 @@ _5btol(u_int8_t *bytes) ((u_int64_t)bytes[2] << 16) | ((u_int64_t)bytes[3] << 8) | (u_int64_t)bytes[4]; - return (rv); + return rv; } static __inline u_int64_t @@ -160,7 +160,7 @@ _8btol(u_int8_t *bytes) (((u_int64_t)bytes[5]) << 16) | (((u_int64_t)bytes[6]) << 8) | ((u_int64_t)bytes[7]); - return (rv); + return rv; } #ifdef _KERNEL |