[tip: locking/core] locking/lockdep: Remove lockdep_init_map_crosslock.

From: tip-bot2 for Sebastian Andrzej Siewior
Date: Mon Feb 06 2023 - 09:34:37 EST


The following commit has been merged into the locking/core branch of tip:

Commit-ID: 2edcedcd1dcb542cb09acabda1732de47dd82e68
Gitweb: https://git.kernel.org/tip/2edcedcd1dcb542cb09acabda1732de47dd82e68
Author: Sebastian Andrzej Siewior <bigeasy@xxxxxxxxxxxxx>
AuthorDate: Thu, 09 Jun 2022 17:36:33 +02:00
Committer: Thomas Gleixner <tglx@xxxxxxxxxxxxx>
CommitterDate: Mon, 06 Feb 2023 15:31:05 +01:00

locking/lockdep: Remove lockdep_init_map_crosslock.

The cross-release bits have been removed, lockdep_init_map_crosslock() is
a leftover.

Remove lockdep_init_map_crosslock.

Signed-off-by: Sebastian Andrzej Siewior <bigeasy@xxxxxxxxxxxxx>
Signed-off-by: Thomas Gleixner <tglx@xxxxxxxxxxxxx>
Reviewed-by: Waiman Long <longman@xxxxxxxxxx>
Acked-by: Waiman Long <longman@xxxxxxxxxx>
Link: https://lore.kernel.org/r/20220311164457.46461-1-bigeasy@xxxxxxxxxxxxx
Link: https://lore.kernel.org/r/YqITgY+2aPITu96z@xxxxxxxxxxxxx

---
include/linux/lockdep.h | 1 -
1 file changed, 1 deletion(-)

diff --git a/include/linux/lockdep.h b/include/linux/lockdep.h
index 1f1099d..1023f34 100644
--- a/include/linux/lockdep.h
+++ b/include/linux/lockdep.h
@@ -435,7 +435,6 @@ enum xhlock_context_t {
XHLOCK_CTX_NR,
};

-#define lockdep_init_map_crosslock(m, n, k, s) do {} while (0)
/*
* To initialize a lockdep_map statically use this macro.
* Note that _name must not be NULL.