diff options
author | Philip Guenther <guenther@cvs.openbsd.org> | 2015-10-01 02:32:08 +0000 |
---|---|---|
committer | Philip Guenther <guenther@cvs.openbsd.org> | 2015-10-01 02:32:08 +0000 |
commit | 00087c13f0a1ce0076c3caba4ffccc6416ff4c9c (patch) | |
tree | 66f8aa81a14106ae7a8a841a20ee0fadf11fe68e /sys/lib/libkern | |
parent | 44d895a4f0e0d0bba54c64bb34c61b56c36710da (diff) |
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')
-rw-r--r-- | sys/lib/libkern/ashrdi3.c | 3 |
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); |