 remove_proc_entry(module_fname, NULL);  remove_proc_dir(); 
remove_proc_entry(PGCTRL, pg_proc_dir); proc_net_remove(PG_PROC_DIR); 
static void __exit pg_cleanup(void){	wait_queue_head_t queue;	init_waitqueue_head(&queue);        /* Stop all interfaces & threads */                while (pktgen_threads) {                struct pktgen_thread *t = pktgen_threads;                pktgen_threads->control |= (T_TERMINATE);		wait_event_interruptible_timeout(queue, (t != pktgen_threads), HZ);        }        /* Un-register us from receiving netdevice events */	unregister_netdevice_notifier(&pktgen_notifier_block);        /* Clean up proc file system */        remove_proc_entry(module_fname, NULL);        	remove_proc_dir();}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/d50a6b56f0f239cf061630c85add121dc3555339/pktgen.c/buggy/net/core/pktgen.c