From 822cb2e44b6572369d1c7a039cf8335276a9573e Mon Sep 17 00:00:00 2001
From: Rui Ueyama <ruiu@google.com>
Date: Fri, 6 Sep 2013 03:16:28 +0000
Subject: [PATCH] Remove extraneous parentheses.

llvm-svn: 190119
---
 lld/lib/Driver/WinLinkDriver.cpp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/lld/lib/Driver/WinLinkDriver.cpp b/lld/lib/Driver/WinLinkDriver.cpp
index 56ea96da5956..ed4c4d9467a5 100644
--- a/lld/lib/Driver/WinLinkDriver.cpp
+++ b/lld/lib/Driver/WinLinkDriver.cpp
@@ -479,8 +479,8 @@ bool WinLinkDriver::parse(int argc, const char *argv[], PECOFFLinkingContext &ct
   // with ".exe".
   if (ctx.outputPath().empty()) {
     SmallString<128> firstInputFilePath =
-        *(llvm::dyn_cast<FileNode>(&((inputGraph)[0])))->path(ctx);
-    (llvm::sys::path::replace_extension(firstInputFilePath, ".exe"));
+        *llvm::dyn_cast<FileNode>(&inputGraph[0])->path(ctx);
+    llvm::sys::path::replace_extension(firstInputFilePath, ".exe");
     ctx.setOutputPath(ctx.allocateString(firstInputFilePath.str()));
   }