From 36cec9af88909cb2cf012d609e5c4d8c444ddab9 Mon Sep 17 00:00:00 2001 From: Guus Sliepen Date: Sat, 4 Jul 2015 17:51:05 +0200 Subject: [PATCH] Coalesce two if statements that check for the same thing. --- src/net_setup.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/net_setup.c b/src/net_setup.c index 0033c008..23dd2521 100644 --- a/src/net_setup.c +++ b/src/net_setup.c @@ -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); -- 2.20.1