mirror of
				https://github.com/torvalds/linux.git
				synced 2025-11-04 02:30:34 +02: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);
 | 
			
		||||
	kfree(tr->name);
 | 
			
		||||
	kfree(tr);
 | 
			
		||||
	tr = NULL;
 | 
			
		||||
 | 
			
		||||
	return 0;
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in a new issue