mirror of
				git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
				synced 2025-10-31 16:54:21 +00:00 
			
		
		
		
	8390p: Get rid of init_module/cleanup_module
This trivial patch just "gets rid of" init_module and cleanup_module from drivers/net/8390p.c Signed-off-by: Mateusz Mandera <ormi.linux@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
		
							parent
							
								
									4cb9be7ab4
								
							
						
					
					
						commit
						362b76edb7
					
				
					 1 changed files with 4 additions and 5 deletions
				
			
		|  | @ -91,16 +91,15 @@ void NS8390p_init(struct net_device *dev, int startp) | |||
| } | ||||
| EXPORT_SYMBOL(NS8390p_init); | ||||
| 
 | ||||
| #if defined(MODULE) | ||||
| 
 | ||||
| int init_module(void) | ||||
| static int __init 8390p_init_module(void) | ||||
| { | ||||
| 	return 0; | ||||
| } | ||||
| 
 | ||||
| void cleanup_module(void) | ||||
| static void __exit 8390p_cleanup_module(void) | ||||
| { | ||||
| } | ||||
| 
 | ||||
| #endif /* MODULE */ | ||||
| module_init(8390p_init_module); | ||||
| module_exit(8390p_cleanup_module); | ||||
| MODULE_LICENSE("GPL"); | ||||
|  |  | |||
		Loading…
	
	Add table
		
		Reference in a new issue
	
	 Mateusz Mandera
						Mateusz Mandera