if ( slots_valid(grip) ) { 
if (slots_valid(grip)) { 
static int multiport_init(struct grip_mp *grip){	int dig_mode, initialized = 0, tries = 0;	u32 packet;	dig_mode = dig_mode_start(grip->gameport, &packet);	while (!dig_mode && tries < 4) {		dig_mode = dig_mode_start(grip->gameport, &packet);		tries++;	}	if (dig_mode)		dbg("multiport_init(): digital mode activated.\n");	else {		dbg("multiport_init(): unable to activate digital mode.\n");		return 0;	}	/* Get packets, store multiport state, and check state's validity */	for (tries = 0; tries < 4096; tries++) {		if ( slots_valid(grip) ) {			initialized = 1;			break;		}	}	dbg("multiport_init(): initialized == %d\n", initialized);	return initialized;}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/17dd3f0f7aa729a042af5d3318ff9b3e7781b45b/grip_mp.c/buggy/drivers/input/joystick/grip_mp.c