lkml.org 
[lkml]   [2019]   [Mar]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 18/35] perf clang: Remove needless extra semicolon
    Date
    From: Yang Wei <yang.wei9@zte.com.cn>

    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);

    --
    2.20.1
    \
     
     \ /
      Last update: 2019-03-07 18:48    [W:2.221 / U:0.052 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site