Skip to content

Commit 1393ba5

Browse files
committed
tools/liblockdep: remove task argument from debug_check_no_locks_held
The tas argument was removed from the kernel code in 1b1d2fb ("lockdep: remove task argument from debug_check_no_locks_held"). Remove it in loblockdep too. Signed-off-by: Sasha Levin <[email protected]>
1 parent 6a13feb commit 1393ba5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/lib/lockdep/common.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ __attribute__((constructor)) static void liblockdep_init(void)
1818

1919
__attribute__((destructor)) static void liblockdep_exit(void)
2020
{
21-
debug_check_no_locks_held(&current_obj);
21+
debug_check_no_locks_held();
2222
}
2323

2424
struct task_struct *__curr(void)

0 commit comments

Comments
 (0)