Coalesce two if statements that check for the same thing.

This commit is contained in:
Guus Sliepen 2015-07-04 17:51:05 +02:00
parent 14ccf50954
commit 36cec9af88

View file

@ -962,9 +962,8 @@ static bool setup_myself(void) {
else if(!strcasecmp(type, "vde"))
devops = vde_devops;
#endif
}
if (type)
free(type);
}
get_config_bool(lookup_config(config_tree, "DeviceStandby"), &device_standby);