summaryrefslogtreecommitdiff
path: root/include/linux/mutex.h
diff options
context:
space:
mode:
authorAdrien Schildknecht <adrien+dev@schischi.me>2015-02-12 16:01:37 +0300
committerLinus Torvalds <torvalds@linux-foundation.org>2015-02-14 22:32:59 +0300
commitd347efeb16d3d5150cb7f8d50b05f388b572840e (patch)
tree41d0b2f4ae5aca0c08ccd823e1a353ebe7dbf596 /include/linux/mutex.h
parentc833e17e276bd5d5f174aa924c4f102754ebc2be (diff)
downloadlinux-d347efeb16d3d5150cb7f8d50b05f388b572840e.tar.xz
mutex: remove unused field "name" in debug mode
This field is unused and uninitialized since commit 9a11b49a8056 ("[PATCH] lockdep: better lock debugging") Signed-off-by: Adrien Schildknecht <adrien+dev@schischi.me> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/linux/mutex.h')
-rw-r--r--include/linux/mutex.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/mutex.h b/include/linux/mutex.h
index cc31498fc526..2cb7531e7d7a 100644
--- a/include/linux/mutex.h
+++ b/include/linux/mutex.h
@@ -59,7 +59,6 @@ struct mutex {
struct optimistic_spin_queue osq; /* Spinner MCS lock */
#endif
#ifdef CONFIG_DEBUG_MUTEXES
- const char *name;
void *magic;
#endif
#ifdef CONFIG_DEBUG_LOCK_ALLOC