for (i = 0; i < 3; i++) if (gc_base[i]) { for (j = 0; j < 5; j++) if (gc_base[i]->pads[0] & gc_status_bit[j]) input_unregister_device(gc_base[i]->dev + j); parport_unregister_device(gc_base[i]->pd); } 
for (i = 0; i < GC_MAX_PORTS; i++) if (gc_base[i]) gc_remove(gc_base[i]); 
static void __exit gc_exit(void){	int i, j;	for (i = 0; i < 3; i++)		if (gc_base[i]) {			for (j = 0; j < 5; j++)				if (gc_base[i]->pads[0] & gc_status_bit[j])					input_unregister_device(gc_base[i]->dev + j);			parport_unregister_device(gc_base[i]->pd);		}}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/17dd3f0f7aa729a042af5d3318ff9b3e7781b45b/gamecon.c/clean/drivers/input/joystick/gamecon.c