All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] perf clang: fix semicolon code style issue
@ 2019-03-04 14:36 Yang Wei
  2019-03-06 12:50 ` Arnaldo Carvalho de Melo
  2019-03-09 19:58 ` [tip:perf/urgent] perf clang: Remove needless extra semicolon tip-bot for Yang Wei
  0 siblings, 2 replies; 3+ messages in thread
From: Yang Wei @ 2019-03-04 14:36 UTC (permalink / raw)
  To: linux-kernel
  Cc: peterz, mingo, acme, alexander.shishkin, jolsa, namhyung,
	yang.wei9, albin_yang

From: Yang Wei <yang.wei9@zte.com.cn>

Delete a superfluous semicolon in getBPFObjectFromModule().

Signed-off-by: Yang Wei <yang.wei9@zte.com.cn>
---
 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 39c0004..fc361c3 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);
 
-- 
2.7.4



^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2019-03-09 19:58 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-03-04 14:36 [PATCH] perf clang: fix semicolon code style issue Yang Wei
2019-03-06 12:50 ` Arnaldo Carvalho de Melo
2019-03-09 19:58 ` [tip:perf/urgent] perf clang: Remove needless extra semicolon tip-bot for Yang Wei

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.