kernels/linux-2.4.0/drivers/net/wan/sdlamain.c
/*============================================================================
 * Module 'remove' entry point.
 * o unregister all adapters from the WAN router
 * o release all remaining system resources
 */
Module 'remove' entry point.
o unregister all adapters from the WAN router
o release all remaining system resources
Module ' remove ' entry point . o unregister all adapters from the WAN router o release all remaining system resources
void cleanup_module (void)
{
	int i;
	for (i = 0; i < ncards; ++i) {
		sdla_t* card = &card_array[i];
		unregister_wan_device(card->devname);
	}
	kfree(card_array);
}
void cleanup_module ( void ) { int i ; for ( i = 0 ; i < ncards ; ++ i ) { sdla_t * card = & card_array [ i ] ; unregister_wan_device ( card -> devname ) ; } kfree ( card_array ) ; }
Module 'remove' entry point.
Module ' remove ' entry point .