diff --git a/dotnetv4/AutoScaling/Actions/AutoScalingWrapper.cs b/dotnetv4/AutoScaling/Actions/AutoScalingWrapper.cs index cc91292a496..fbe8c3afa0f 100644 --- a/dotnetv4/AutoScaling/Actions/AutoScalingWrapper.cs +++ b/dotnetv4/AutoScaling/Actions/AutoScalingWrapper.cs @@ -101,7 +101,6 @@ public async Task DescribeAccountLimitsAsync() public async Task> DescribeScalingActivitiesAsync( string groupName) { - var activities = new List(); var activities = new List(); var scalingActivitiesRequest = new DescribeScalingActivitiesRequest { @@ -191,10 +190,6 @@ public async Task> DescribeAutoScalingGroupsAsync( { groups = response.AutoScalingGroups; } - if (response.AutoScalingGroups != null) - { - groups = response.AutoScalingGroups; - } return groups; }