Skip to content

Commit c4cbf9f

Browse files
committed
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>
1 parent cad7b38 commit c4cbf9f

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

‎include/linux/rcupdate.h‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,6 @@
4646
#include <linux/ktime.h>
4747
#include <linux/irqflags.h>
4848

49-
#define UINT_CMP_GE(a, b) (UINT_MAX / 2 >= (a) - (b))
50-
#define UINT_CMP_LT(a, b) (UINT_MAX / 2 < (a) - (b))
5149
#define ULONG_CMP_GE(a, b) (ULONG_MAX / 2 >= (a) - (b))
5250
#define ULONG_CMP_LT(a, b) (ULONG_MAX / 2 < (a) - (b))
5351
#define ulong2long(a) (*(long *)(&(a)))

0 commit comments

Comments
 (0)