rem: } else device = new PPPoEDevice(mainInterface, settings); {
add: } else { #if DEBUG printf("PPPoE: add_to(): Adding to mainInterface\n"); #endif device = new PPPoEDevice(mainInterface, settings);
context: add_to(PPPInterface& mainInterface, PPPInterface *subInterface,	driver_parameter *settings, ppp_module_key_type type){	if(type != PPP_DEVICE_KEY_TYPE)		return B_ERROR;		PPPoEDevice *device;	bool success;	if(subInterface) {		device = new PPPoEDevice(*subInterface, settings);		success = subInterface->SetDevice(device);	} else		device = new PPPoEDevice(mainInterface, settings); {		success = mainInterface.SetDevice(device);	}	#if DEBUG	printf("PPPoE: add_to(): %s\n", success && device && device->InitCheck() == B_OK ? "OK" : "ERROR");#endif		return success && device && device->InitCheck() == B_OK;}