summaryrefslogtreecommitdiffstats
path: root/sys/lib/libkern/ashrdi3.c
diff options
context:
space:
mode:
authorguenther <guenther@openbsd.org>2015-10-01 02:32:07 +0000
committerguenther <guenther@openbsd.org>2015-10-01 02:32:07 +0000
commit9d9553bd2d73b47a1e6c954c7538bf7cd6b06ea5 (patch)
tree022c8bf1714eee5427f8033ca0d81a992629f7aa /sys/lib/libkern/ashrdi3.c
parentrename the internal functions that do ml_foo ops on classes to hfsc_cl_foo. (diff)
downloadwireguard-openbsd-9d9553bd2d73b47a1e6c954c7538bf7cd6b06ea5.tar.xz
wireguard-openbsd-9d9553bd2d73b47a1e6c954c7538bf7cd6b06ea5.zip
Eliminate the last of the LINTEDn and PRINTFLIKEn comments. In one
case, by deleting some useless '& of an array' we also eliminate the need for the casts which prompted the original lint warnings ok deraadt@
Diffstat (limited to 'sys/lib/libkern/ashrdi3.c')
-rw-r--r--sys/lib/libkern/ashrdi3.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/sys/lib/libkern/ashrdi3.c b/sys/lib/libkern/ashrdi3.c
index 5b3d2c959eb..f55e7813c3f 100644
--- a/sys/lib/libkern/ashrdi3.c
+++ b/sys/lib/libkern/ashrdi3.c
@@ -54,15 +54,12 @@ __ashrdi3(quad_t a, qshift_t shift)
* INT_BITS is undefined, so we shift (INT_BITS-1),
* then 1 more, to get our answer.
*/
- /* LINTED inherits machine dependency */
s = (aa.sl[H] >> (INT_BITS - 1)) >> 1;
- /* LINTED inherits machine dependency*/
aa.ul[L] = aa.sl[H] >> (shift - INT_BITS);
aa.ul[H] = s;
} else {
aa.ul[L] = (aa.ul[L] >> shift) |
(aa.ul[H] << (INT_BITS - shift));
- /* LINTED inherits machine dependency */
aa.sl[H] >>= shift;
}
return (aa.q);