[REPOST PATCH] locking/lockdep: Remove lockdep_init_map_crosslock.

From: Sebastian Andrzej Siewior
Date: Wed May 11 2022 - 07:28:00 EST


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>
Reviewed-by: Waiman Long <longman@xxxxxxxxxx>
Link: https://lore.kernel.org/r/20220311164457.46461-1-bigeasy@xxxxxxxxxxxxx
---
include/linux/lockdep.h | 1 -
1 file changed, 1 deletion(-)

diff --git a/include/linux/lockdep.h b/include/linux/lockdep.h
index 37951c17908e7..e4cfee37d5986 100644
--- a/include/linux/lockdep.h
+++ b/include/linux/lockdep.h
@@ -427,7 +427,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.
--
2.36.1