Diff between a06282d0521778b1a130c2c28eab8f553aed2d8e and a00b6990066464cbd0d2be74232934ddc318dcd6

Changed Files

File Additions Deletions Status
src/mgmt.c +0 -9 modified

Full Patch

diff --git a/src/mgmt.c b/src/mgmt.c
index dbebdc8..c83320f 100644
--- a/src/mgmt.c
+++ b/src/mgmt.c
@@ -1449,15 +1449,6 @@ fail:
 
 void mgmt_cleanup(void)
 {
-	int index;
-
-	for (index = 0; index <= max_index; index++) {
-		struct controller_info *info = &controllers[index];
-
-		if (!info->valid)
-			continue;
-	}
-
 	g_free(controllers);
 	controllers = NULL;
 	max_index = -1;