From: Andrew Morton Date: Tue, 6 Apr 2010 21:34:41 +0000 (-0700) Subject: bitops: remove temporary for_each_bit() X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=b01d0942c2b7a3026d2b7d38b5773d3d00420e06;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git bitops: remove temporary for_each_bit() Migration has been completed so remove this now. There's one straggler in linux-next's drivers/mtd/sm_ftl.c. A patch has been sent. Cc: Akinobu Mita Cc: Stephen Rothwell Cc: David Woodhouse Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/include/linux/bitops.h b/include/linux/bitops.h index b79389879238..b796eab5ca75 100644 --- a/include/linux/bitops.h +++ b/include/linux/bitops.h @@ -21,9 +21,6 @@ (bit) < (size); \ (bit) = find_next_bit((addr), (size), (bit) + 1)) -/* Temporary */ -#define for_each_bit(bit, addr, size) for_each_set_bit(bit, addr, size) - static __inline__ int get_bitmask_order(unsigned int count) { int order;