From 026b19c3fadf352a19305d3264f5552939a3a93e Mon Sep 17 00:00:00 2001 From: Sharath Babu Date: Tue, 29 Mar 2016 07:19:07 +0000 Subject: [PATCH] CAR-2146: Improved policy wizard loading time Removing redundant code to improve performance as suggested by Miheala. Signed-off-by: Sharath Babu --- XenModel/XenAPI-Extensions/VMSS.cs | 5 ----- 1 file changed, 5 deletions(-) diff --git a/XenModel/XenAPI-Extensions/VMSS.cs b/XenModel/XenAPI-Extensions/VMSS.cs index 1ada6b1c2..0d37cdfef 100644 --- a/XenModel/XenAPI-Extensions/VMSS.cs +++ b/XenModel/XenAPI-Extensions/VMSS.cs @@ -306,11 +306,6 @@ namespace XenAPI { get { - foreach (var recent in _alerts) - { - if (!_alerts.Contains(recent)) - _alerts.Add(recent); - } return _alerts; } set { _alerts = value; }