Commit 76de81b7 authored by Jan Kiszka's avatar Jan Kiszka
Browse files

ipipe: lockdep: Remove duplicate context checks



All callers of lockdep_hardirqs_on/off already filter out !ipipe_root_p.
Signed-off-by: Jan Kiszka's avatarJan Kiszka <jan.kiszka@siemens.com>
parent 2cb05e0c
......@@ -3401,9 +3401,6 @@ static void __trace_hardirqs_on_caller(unsigned long ip)
void lockdep_hardirqs_on(unsigned long ip)
{
if (!ipipe_root_p)
return;
if (unlikely(!debug_locks || current->lockdep_recursion))
return;
......@@ -3451,9 +3448,6 @@ void lockdep_hardirqs_off(unsigned long ip)
{
struct task_struct *curr;
if (!ipipe_root_p)
return;
curr = current;
if (unlikely(!debug_locks || current->lockdep_recursion))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment