Simplify two if's.

llvm-svn: 205569
diff --git a/lld/lib/Core/Resolver.cpp b/lld/lib/Core/Resolver.cpp
index ff80d68..f642e0d 100644
--- a/lld/lib/Core/Resolver.cpp
+++ b/lld/lib/Core/Resolver.cpp
@@ -247,11 +247,9 @@
     _symbolTable.add(atom);
   }
 
-  if (_context.deadStrip()) {
-    // add to set of dead-strip-roots, all symbols that
-    // the compiler marks as don't strip
-    if (atom.deadStrip() == DefinedAtom::deadStripNever)
-      _deadStripRoots.insert(&atom);
+  // An atom that should never be dead-stripped is a dead-strip root.
+  if (_context.deadStrip() && atom.deadStrip() == DefinedAtom::deadStripNever) {
+    _deadStripRoots.insert(&atom);
   }
 }