summaryrefslogtreecommitdiff
path: root/include/linux/spinlock_api_up.h
diff options
context:
space:
mode:
authorWaiman Long <longman@redhat.com>2017-01-09 18:26:52 +0300
committerIngo Molnar <mingo@kernel.org>2017-01-12 11:33:39 +0300
commit607904c357c61adf20b8fd18af765e501d61a385 (patch)
tree5910281e8003d67f084842c1b39965fcf4564602 /include/linux/spinlock_api_up.h
parentba836a6f5ab1243ff5e08a941a2d1de8b31244e1 (diff)
downloadlinux-607904c357c61adf20b8fd18af765e501d61a385.tar.xz
locking/spinlocks: Remove the unused spin_lock_bh_nested() API
The spin_lock_bh_nested() API is defined but is not used anywhere in the kernel. So all spin_lock_bh_nested() and related APIs are now removed. Signed-off-by: Waiman Long <longman@redhat.com> Cc: Linus Torvalds <torvalds@linux-foundation.org> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Thomas Gleixner <tglx@linutronix.de> Link: http://lkml.kernel.org/r/1483975612-16447-1-git-send-email-longman@redhat.com Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'include/linux/spinlock_api_up.h')
-rw-r--r--include/linux/spinlock_api_up.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/spinlock_api_up.h b/include/linux/spinlock_api_up.h
index d3afef9d8dbe..d0d188861ad6 100644
--- a/include/linux/spinlock_api_up.h
+++ b/include/linux/spinlock_api_up.h
@@ -57,7 +57,6 @@
#define _raw_spin_lock(lock) __LOCK(lock)
#define _raw_spin_lock_nested(lock, subclass) __LOCK(lock)
-#define _raw_spin_lock_bh_nested(lock, subclass) __LOCK(lock)
#define _raw_read_lock(lock) __LOCK(lock)
#define _raw_write_lock(lock) __LOCK(lock)
#define _raw_spin_lock_bh(lock) __LOCK_BH(lock)