Remove if-condition that is always true

Change-Id: I945af6853885db2efb2941f08733cc83c37d8e90
diff --git a/src/main/java/com/android/tools/r8/R8.java b/src/main/java/com/android/tools/r8/R8.java
index db13df4..65bf330 100644
--- a/src/main/java/com/android/tools/r8/R8.java
+++ b/src/main/java/com/android/tools/r8/R8.java
@@ -886,15 +886,13 @@
       }
     }
     for (DexDefinition definition : failed) {
-      if (!failed.isEmpty()) {
-        ByteArrayOutputStream baos = new ByteArrayOutputStream();
-        whyAreYouKeepingConsumer.printWhyAreYouKeeping(
-            enqueuer.getGraphReporter().getGraphNode(definition.toReference()),
-            new PrintStream(baos));
-        options.reporter.info(
-            new StringDiagnostic(
-                "Item " + definition.toSourceString() + " was not discarded.\n" + baos.toString()));
-      }
+      ByteArrayOutputStream baos = new ByteArrayOutputStream();
+      whyAreYouKeepingConsumer.printWhyAreYouKeeping(
+          enqueuer.getGraphReporter().getGraphNode(definition.toReference()),
+          new PrintStream(baos));
+      options.reporter.info(
+          new StringDiagnostic(
+              "Item " + definition.toSourceString() + " was not discarded.\n" + baos.toString()));
     }
     throw new CompilationError("Discard checks failed.");
   }