Skip to content

Commit 696e421

Browse files
Villemoestorvalds
authored andcommitted
lib/bitmap.c: remove wrong documentation
This promise is violated in a number of places, e.g. already in the second function below this paragraph. Since I don't think anybody relies on this being true, and since actually honouring it would hurt performance and code size in various places, just remove the paragraph. Link: http://lkml.kernel.org/r/20180818131623.8755-2-linux@rasmusvillemoes.dk Signed-off-by: Rasmus Villemoes <linux@rasmusvillemoes.dk> Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com> Cc: Yury Norov <ynorov@caviumnetworks.com> Cc: Rasmus Villemoes <linux@rasmusvillemoes.dk> Cc: Sudeep Holla <sudeep.holla@arm.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
1 parent ea6f650 commit 696e421

1 file changed

Lines changed: 0 additions & 5 deletions

File tree

‎lib/bitmap.c‎

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -36,11 +36,6 @@
3636
* carefully filter out these unused bits from impacting their
3737
* results.
3838
*
39-
* These operations actually hold to a slightly stronger rule:
40-
* if you don't input any bitmaps to these ops that have some
41-
* unused bits set, then they won't output any set unused bits
42-
* in output bitmaps.
43-
*
4439
* The byte ordering of bitmaps is more natural on little
4540
* endian architectures. See the big-endian headers
4641
* include/asm-ppc64/bitops.h and include/asm-s390/bitops.h

0 commit comments

Comments
 (0)