From 747646a4d9d9ddfc7952f8c6d25ea1f323e689a0 Mon Sep 17 00:00:00 2001 From: Jesper Nilsson Date: Mon, 4 Feb 2008 22:30:33 -0800 Subject: [PATCH] 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 Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- include/asm-cris/bitops.h | 7 ------- 1 file changed, 7 deletions(-) diff --git a/include/asm-cris/bitops.h b/include/asm-cris/bitops.h index e2f49c27ed..75ea6e0964 100644 --- a/include/asm-cris/bitops.h +++ b/include/asm-cris/bitops.h @@ -23,13 +23,6 @@ #include #include -/* - * 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 -- 2.39.5