Gitweb: http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=747646a4d9d9ddfc7952f8c6d25ea1f323e689a0 Commit: 747646a4d9d9ddfc7952f8c6d25ea1f323e689a0 Parent: 6d9f4c5cfb6084c16a800e8a2ca9db8d0859611c Author: Jesper Nilsson <[EMAIL PROTECTED]> AuthorDate: Mon Feb 4 22:30:33 2008 -0800 Committer: Linus Torvalds <[EMAIL PROTECTED]> CommitDate: Tue Feb 5 09:44:24 2008 -0800
cris: remove unused __dummy, CONST_ADDR and ADDR from bitops.h This is very old code, it hasn't changed since 2001 and it is not used anywhere. Noticed by Clemens Koller. Signed-off-by: Jesper Nilsson <[EMAIL PROTECTED]> Signed-off-by: Andrew Morton <[EMAIL PROTECTED]> Signed-off-by: Linus Torvalds <[EMAIL PROTECTED]> --- include/asm-cris/bitops.h | 7 ------- 1 files changed, 0 insertions(+), 7 deletions(-) diff --git a/include/asm-cris/bitops.h b/include/asm-cris/bitops.h index e2f49c2..75ea6e0 100644 --- a/include/asm-cris/bitops.h +++ b/include/asm-cris/bitops.h @@ -24,13 +24,6 @@ #include <linux/compiler.h> /* - * Some hacks to defeat gcc over-optimizations.. - */ -struct __dummy { unsigned long a[100]; }; -#define ADDR (*(struct __dummy *) addr) -#define CONST_ADDR (*(const struct __dummy *) addr) - -/* * set_bit - Atomically set a bit in memory * @nr: the bit to set * @addr: the address to start counting from - To unsubscribe from this list: send the line "unsubscribe git-commits-head" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html