[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <tip-a53837a5458c5b84588dfa3fa510c6a29b7bd4d7@git.kernel.org>
Date: Sat, 9 Mar 2019 11:58:15 -0800
From: tip-bot for Yang Wei <tipbot@...or.com>
To: linux-tip-commits@...r.kernel.org
Cc: yang.wei9@....com.cn, namhyung@...nel.org, hpa@...or.com,
tglx@...utronix.de, peterz@...radead.org, jolsa@...hat.com,
acme@...hat.com, albin_yang@....com, linux-kernel@...r.kernel.org,
alexander.shishkin@...ux.intel.com, mingo@...nel.org
Subject: [tip:perf/urgent] perf clang: Remove needless extra semicolon
Commit-ID: a53837a5458c5b84588dfa3fa510c6a29b7bd4d7
Gitweb: https://git.kernel.org/tip/a53837a5458c5b84588dfa3fa510c6a29b7bd4d7
Author: Yang Wei <yang.wei9@....com.cn>
AuthorDate: Mon, 4 Mar 2019 22:36:14 +0800
Committer: Arnaldo Carvalho de Melo <acme@...hat.com>
CommitDate: Wed, 6 Mar 2019 09:47:48 -0300
perf clang: Remove needless extra semicolon
Delete a superfluous semicolon in getBPFObjectFromModule().
Signed-off-by: Yang Wei <yang.wei9@....com.cn>
Cc: Alexander Shishkin <alexander.shishkin@...ux.intel.com>
Cc: Jiri Olsa <jolsa@...hat.com>
Cc: Namhyung Kim <namhyung@...nel.org>
Cc: Peter Zijlstra <peterz@...radead.org>
Cc: Yang Wei <albin_yang@....com>
Link: http://lkml.kernel.org/r/1551710174-3349-1-git-send-email-albin_yang@163.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@...hat.com>
---
tools/perf/util/c++/clang.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tools/perf/util/c++/clang.cpp b/tools/perf/util/c++/clang.cpp
index 39c0004f2886..fc361c3f8570 100644
--- a/tools/perf/util/c++/clang.cpp
+++ b/tools/perf/util/c++/clang.cpp
@@ -156,7 +156,7 @@ getBPFObjectFromModule(llvm::Module *Module)
#endif
if (NotAdded) {
llvm::errs() << "TargetMachine can't emit a file of this type\n";
- return std::unique_ptr<llvm::SmallVectorImpl<char>>(nullptr);;
+ return std::unique_ptr<llvm::SmallVectorImpl<char>>(nullptr);
}
PM.run(*Module);
Powered by blists - more mailing lists