From: Davidlohr Bueso <davidl...@hp.com>

Accidentally ran into these, get rid of them.

Signed-off-by: Davidlohr Bueso <davidl...@hp.com>
Link: 
http://lkml.kernel.org/r/1384323864.2527.8.ca...@buesod1.americas.hpqcorp.net
Signed-off-by: Arnaldo Carvalho de Melo <a...@redhat.com>
---
 tools/perf/ui/browser.c  | 2 +-
 tools/perf/util/evlist.c | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/tools/perf/ui/browser.c b/tools/perf/ui/browser.c
index bbc782e364b0..3648d4ec041f 100644
--- a/tools/perf/ui/browser.c
+++ b/tools/perf/ui/browser.c
@@ -680,7 +680,7 @@ static void __ui_browser__line_arrow_down(struct ui_browser 
*browser,
        if (end >= browser->top_idx + browser->height)
                end_row = browser->height - 1;
        else
-               end_row = end - browser->top_idx;;
+               end_row = end - browser->top_idx;
 
        ui_browser__gotorc(browser, row, column);
        SLsmg_draw_vline(end_row - row + 1);
diff --git a/tools/perf/util/evlist.c b/tools/perf/util/evlist.c
index dc6fa3fbb180..5ce2ace2d6c1 100644
--- a/tools/perf/util/evlist.c
+++ b/tools/perf/util/evlist.c
@@ -1148,7 +1148,7 @@ size_t perf_evlist__fprintf(struct perf_evlist *evlist, 
FILE *fp)
                                   perf_evsel__name(evsel));
        }
 
-       return printed + fprintf(fp, "\n");;
+       return printed + fprintf(fp, "\n");
 }
 
 int perf_evlist__strerror_tp(struct perf_evlist *evlist __maybe_unused,
-- 
1.8.1.4

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to