CA-189084: Control domain memory alerts not getting generated in Xencenter.

Removed unnecessary code found in code review

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
This commit is contained in:
Gabor Apati-Nagy 2015-12-10 13:43:54 +00:00
parent 9a9f117dd8
commit 652c7225f8

View File

@ -115,9 +115,6 @@ namespace XenAdmin.Actions
}
}
if (dom0_memory_usage != null && perfmonDefinitions.Contains(dom0_memory_usage))
perfmonDefinitions.Remove(dom0_memory_usage);
if (perfmonDefinitions == null || perfmonDefinitions.Count == 0)
{
Helpers.RemoveFromOtherConfig(Session, xo, PerfmonDefinition.PERFMON_KEY_NAME);