mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-04-23 14:54:03 +00:00
tracing: remove a pointless assignment
The "tr" is a stack variable so setting it to NULL before a return is a no-op. Delete the assignment. Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
This commit is contained in:
parent
f3d3642661
commit
eb8d8b4c98
1 changed files with 0 additions and 1 deletions
|
@ -8799,7 +8799,6 @@ static int __remove_instance(struct trace_array *tr)
|
||||||
free_cpumask_var(tr->tracing_cpumask);
|
free_cpumask_var(tr->tracing_cpumask);
|
||||||
kfree(tr->name);
|
kfree(tr->name);
|
||||||
kfree(tr);
|
kfree(tr);
|
||||||
tr = NULL;
|
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue