diff options
author | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2017-05-03 10:36:36 -0700 |
---|---|---|
committer | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2017-06-08 18:52:29 -0700 |
commit | c4cbf9f736f5bd0a53a5ea401d86376c86bf905e (patch) | |
tree | c33bef1de79a2c5d9302dac4f9d5d054ecbd9e02 /include/linux/rcupdate.h | |
parent | cad7b3897279c869de61dc88133037b941f84233 (diff) | |
download | lwn-c4cbf9f736f5bd0a53a5ea401d86376c86bf905e.tar.gz lwn-c4cbf9f736f5bd0a53a5ea401d86376c86bf905e.zip |
rcu: Remove UINT_CMP_GE() and UINT_CMP_LT()
The UINT_CMP_GE() and UINT_CMP_LT() macros are not used, so this
commit removes them.
Reported-by: Ingo Molnar <mingo@kernel.org>
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Diffstat (limited to 'include/linux/rcupdate.h')
-rw-r--r-- | include/linux/rcupdate.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/include/linux/rcupdate.h b/include/linux/rcupdate.h index 7557499d8e70..fa3f921e5874 100644 --- a/include/linux/rcupdate.h +++ b/include/linux/rcupdate.h @@ -46,8 +46,6 @@ #include <linux/ktime.h> #include <linux/irqflags.h> -#define UINT_CMP_GE(a, b) (UINT_MAX / 2 >= (a) - (b)) -#define UINT_CMP_LT(a, b) (UINT_MAX / 2 < (a) - (b)) #define ULONG_CMP_GE(a, b) (ULONG_MAX / 2 >= (a) - (b)) #define ULONG_CMP_LT(a, b) (ULONG_MAX / 2 < (a) - (b)) #define ulong2long(a) (*(long *)(&(a))) |