mirror of
				git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
				synced 2025-11-01 09:13:37 +00:00 
			
		
		
		
	kprobes: remove redundant config check
I noticed that there's a CONFIG_KPROBES check inside kernel/kprobes.c, which is redundant. Signed-off-by: Abhishek Sagar <sagar.abhishek@gmail.com> Acked-by: Masami Hiramatsu <mhiramat@redhat.com> Cc: Ananth N Mavinakayanahalli <ananth@in.ibm.com> Cc: Anil S Keshavamurthy <anil.s.keshavamurthy@intel.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
		
							parent
							
								
									ef53d9c5e4
								
							
						
					
					
						commit
						8b6dd98682
					
				
					 1 changed files with 0 additions and 5 deletions
				
			
		| 
						 | 
				
			
			@ -1337,13 +1337,8 @@ EXPORT_SYMBOL_GPL(register_jprobe);
 | 
			
		|||
EXPORT_SYMBOL_GPL(unregister_jprobe);
 | 
			
		||||
EXPORT_SYMBOL_GPL(register_jprobes);
 | 
			
		||||
EXPORT_SYMBOL_GPL(unregister_jprobes);
 | 
			
		||||
#ifdef CONFIG_KPROBES
 | 
			
		||||
EXPORT_SYMBOL_GPL(jprobe_return);
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#ifdef CONFIG_KPROBES
 | 
			
		||||
EXPORT_SYMBOL_GPL(register_kretprobe);
 | 
			
		||||
EXPORT_SYMBOL_GPL(unregister_kretprobe);
 | 
			
		||||
EXPORT_SYMBOL_GPL(register_kretprobes);
 | 
			
		||||
EXPORT_SYMBOL_GPL(unregister_kretprobes);
 | 
			
		||||
#endif
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		
		Reference in a new issue