tracing: remove a pointless assignment
Subsystems (2)
PATCH 1/1 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 <[email protected]>
--- kernel/trace/trace.c | 1 - 1 file changed, 1 deletion(-)
kernel/trace/trace.c +0 -1
@@ -8799,7 +8799,6 @@ static int __remove_instance(struct trace_array *tr)free_cpumask_var (tr->tracing_cpumask);kfree (tr->name);kfree (tr); - tr =NULL ;return 0 ; }
Signature · 1 line
2.28.0