diff options
| author | Rasmus Villemoes <[email protected]> | 2018-10-30 22:04:54 +0000 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2018-10-31 15:54:12 +0000 |
| commit | 696e4219237b4cac48b5145f497f4840bb5e3391 (patch) | |
| tree | 8549ac7c4220e97f82caaa2362563a35761e990e /lib/bitmap.c | |
| parent | kernel/fail_function.c: remove meaningless null pointer check before debugfs_... (diff) | |
| download | kernel-696e4219237b4cac48b5145f497f4840bb5e3391.tar.gz kernel-696e4219237b4cac48b5145f497f4840bb5e3391.zip | |
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/[email protected]
Signed-off-by: Rasmus Villemoes <[email protected]>
Reviewed-by: Andy Shevchenko <[email protected]>
Cc: Yury Norov <[email protected]>
Cc: Rasmus Villemoes <[email protected]>
Cc: Sudeep Holla <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'lib/bitmap.c')
| -rw-r--r-- | lib/bitmap.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/lib/bitmap.c b/lib/bitmap.c index 2fd07f6df0b8..a2348d19c8b5 100644 --- a/lib/bitmap.c +++ b/lib/bitmap.c @@ -36,11 +36,6 @@ * carefully filter out these unused bits from impacting their * results. * - * These operations actually hold to a slightly stronger rule: - * if you don't input any bitmaps to these ops that have some - * unused bits set, then they won't output any set unused bits - * in output bitmaps. - * * The byte ordering of bitmaps is more natural on little * endian architectures. See the big-endian headers * include/asm-ppc64/bitops.h and include/asm-s390/bitops.h |
