Commit 3f5d41b1 authored by Jan Kiszka's avatar Jan Kiszka Committed by Philippe Gerum

copperplate: Remove redundant cleanups

We are running this section with cancellation deferred, so no
termination possible, thus nothing to clean up.
Signed-off-by: Jan Kiszka's avatarJan Kiszka <jan.kiszka@siemens.com>
parent e39cf659
......@@ -200,11 +200,9 @@ static void dump_marks_on_error(struct traceobj *trobj)
CANCEL_DEFER(svc);
push_cleanup_lock(&trobj->lock);
read_lock(&trobj->lock);
dump_marks(trobj);
read_unlock(&trobj->lock);
pop_cleanup_lock(&trobj->lock);
CANCEL_RESTORE(svc);
}
......
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