Module Name: src Committed By: christos Date: Sun Mar 21 00:04:34 UTC 2010
Modified Files: src/sys/sys: bitops.h Log Message: remove unnecessary cast now that lint is more intelligent. To generate a diff of this commit: cvs rdiff -u -r1.5 -r1.6 src/sys/sys/bitops.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/sys/bitops.h diff -u src/sys/sys/bitops.h:1.5 src/sys/sys/bitops.h:1.6 --- src/sys/sys/bitops.h:1.5 Sat Mar 20 10:43:50 2010 +++ src/sys/sys/bitops.h Sat Mar 20 20:04:34 2010 @@ -1,4 +1,4 @@ -/* $NetBSD: bitops.h,v 1.5 2010/03/20 14:43:50 christos Exp $ */ +/* $NetBSD: bitops.h,v 1.6 2010/03/21 00:04:34 christos Exp $ */ /*- * Copyright (c) 2007, 2010 The NetBSD Foundation, Inc. @@ -279,7 +279,7 @@ { uint32_t _t; - _t = (uint32_t)(((uint64_t)_v * _m) >> 32); + _t = ((uint64_t)_v * _m) >> 32; return (_t + ((_v - _t) >> _s1)) >> _s2; }