diff --git a/tools/perf/builtin-script.c b/tools/perf/builtin-script.c index a2236542900d69399a8d6017daa71d37b0aa177f..3aadefd2791efb13a861e2d1b1110fc1d604a42f 100644 --- a/tools/perf/builtin-script.c +++ b/tools/perf/builtin-script.c @@ -604,8 +604,6 @@ static int perf_sample__fprintf_regs(struct regs_dump *regs, uint64_t mask, printed += fprintf(fp, "%5s:0x%"PRIx64" ", perf_reg_name(r), val); } - fprintf(fp, "\n"); - return printed; }