aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/util/c++/clang.cpp
diff options
context:
space:
mode:
authorYang Wei <[email protected]>2019-03-04 14:36:14 +0000
committerArnaldo Carvalho de Melo <[email protected]>2019-03-06 12:47:48 +0000
commita53837a5458c5b84588dfa3fa510c6a29b7bd4d7 (patch)
tree3fd53ef6910be6928385aa3c3dfde1e8f8d317b9 /tools/perf/util/c++/clang.cpp
parentperf bpf: Automatically add BTF ELF markers (diff)
downloadkernel-a53837a5458c5b84588dfa3fa510c6a29b7bd4d7.tar.gz
kernel-a53837a5458c5b84588dfa3fa510c6a29b7bd4d7.zip
perf clang: Remove needless extra semicolon
Delete a superfluous semicolon in getBPFObjectFromModule(). Signed-off-by: Yang Wei <[email protected]> Cc: Alexander Shishkin <[email protected]> Cc: Jiri Olsa <[email protected]> Cc: Namhyung Kim <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Yang Wei <[email protected]> Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/util/c++/clang.cpp')
-rw-r--r--tools/perf/util/c++/clang.cpp2
1 files changed, 1 insertions, 1 deletions
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);