Coalesce two if statements that check for the same thing.
This commit is contained in:
parent
14ccf50954
commit
36cec9af88
1 changed files with 1 additions and 2 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in a new issue