Merge branch 'core/locking' into tracing/ftrace
[firefly-linux-kernel-4.4.55.git] / kernel / lockdep.c
index cb70c1db85d04537f9fd0a3748ead6b2c726ba24..71b567f5281340c7d2ea77b6097a86e41b583f1d 100644 (file)
@@ -434,13 +434,6 @@ atomic_t nr_find_usage_forwards_checks;
 atomic_t nr_find_usage_forwards_recursions;
 atomic_t nr_find_usage_backwards_checks;
 atomic_t nr_find_usage_backwards_recursions;
-# define debug_atomic_inc(ptr)         atomic_inc(ptr)
-# define debug_atomic_dec(ptr)         atomic_dec(ptr)
-# define debug_atomic_read(ptr)                atomic_read(ptr)
-#else
-# define debug_atomic_inc(ptr)         do { } while (0)
-# define debug_atomic_dec(ptr)         do { } while (0)
-# define debug_atomic_read(ptr)                0
 #endif
 
 /*