All of lore.kernel.org
 help / color / mirror / Atom feed
From: tip-bot for Yang Wei <tipbot@zytor.com>
To: linux-tip-commits@vger.kernel.org
Cc: yang.wei9@zte.com.cn, namhyung@kernel.org, hpa@zytor.com,
	tglx@linutronix.de, peterz@infradead.org, jolsa@redhat.com,
	acme@redhat.com, albin_yang@163.com,
	linux-kernel@vger.kernel.org, alexander.shishkin@linux.intel.com,
	mingo@kernel.org
Subject: [tip:perf/urgent] perf clang: Remove needless extra semicolon
Date: Sat, 9 Mar 2019 11:58:15 -0800	[thread overview]
Message-ID: <tip-a53837a5458c5b84588dfa3fa510c6a29b7bd4d7@git.kernel.org> (raw)
In-Reply-To: <1551710174-3349-1-git-send-email-albin_yang@163.com>

Commit-ID:  a53837a5458c5b84588dfa3fa510c6a29b7bd4d7
Gitweb:     https://git.kernel.org/tip/a53837a5458c5b84588dfa3fa510c6a29b7bd4d7
Author:     Yang Wei <yang.wei9@zte.com.cn>
AuthorDate: Mon, 4 Mar 2019 22:36:14 +0800
Committer:  Arnaldo Carvalho de Melo <acme@redhat.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@zte.com.cn>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Yang Wei <albin_yang@163.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@redhat.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);
 

      parent reply	other threads:[~2019-03-09 19:58 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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-bot for Yang Wei [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=tip-a53837a5458c5b84588dfa3fa510c6a29b7bd4d7@git.kernel.org \
    --to=tipbot@zytor.com \
    --cc=acme@redhat.com \
    --cc=albin_yang@163.com \
    --cc=alexander.shishkin@linux.intel.com \
    --cc=hpa@zytor.com \
    --cc=jolsa@redhat.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-tip-commits@vger.kernel.org \
    --cc=mingo@kernel.org \
    --cc=namhyung@kernel.org \
    --cc=peterz@infradead.org \
    --cc=tglx@linutronix.de \
    --cc=yang.wei9@zte.com.cn \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.