Remove useless code.
RELNOTES: None
@@ -19,7 +19,6 @@ import com.google.common.collect.Collections2;
import com.google.common.collect.ImmutableList;
import com.google.common.collect.ImmutableSet;
import com.google.common.collect.Lists;
-import com.google.common.collect.Maps;
import com.google.common.collect.Multimap;
import com.google.common.collect.Sets;
import com.google.devtools.build.lib.cmdline.Label;
@@ -198,12 +197,6 @@ abstract class TransitiveBaseTraversalFunction<ProcessedTargetsT> implements Sky
labelDepMap.put(argumentFromKey(entry.getKey()), entry.getValue());
}
- Map<String, ImmutableList<Aspect>> aspectsByAttribute =
- Maps.newHashMapWithExpectedSize(rule.getAttributes().size());
- for (Attribute attribute : rule.getAttributes()) {
- aspectsByAttribute.put(attribute.getName(), attribute.getAspects(rule));
- }
-
List<SkyKey> depKeys = Lists.newArrayList();
Multimap<Attribute, Label> transitions =
rule.getTransitions(DependencyFilter.NO_NODEP_ATTRIBUTES);
