Commit 2cca512a authored by Zou Wei's avatar Zou Wei Committed by Arnaldo Carvalho de Melo
Browse files

perf c2c: Remove unneeded semicolon



Fixes coccicheck warnings:

 tools/perf/builtin-c2c.c:1712:2-3: Unneeded semicolon
 tools/perf/builtin-c2c.c:1928:2-3: Unneeded semicolon
 tools/perf/builtin-c2c.c:2962:2-3: Unneeded semicolon

Reported-by: default avatarHulk Robot <hulkci@huawei.com>
Signed-off-by: default avatarZou Wei <zou_wei@huawei.com>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Link: http://lore.kernel.org/lkml/1588064336-70456-1-git-send-email-zou_wei@huawei.com


Signed-off-by: default avatarArnaldo Carvalho de Melo <acme@redhat.com>
parent eebe80c9
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -1709,7 +1709,7 @@ static struct c2c_dimension *get_dimension(const char *name)

		if (!strcmp(dim->name, name))
			return dim;
	};
	}

	return NULL;
}
@@ -1925,7 +1925,7 @@ static bool he__display(struct hist_entry *he, struct c2c_stats *stats)
		FILTER_HITM(tot_hitm);
	default:
		break;
	};
	}

#undef FILTER_HITM

@@ -2959,7 +2959,7 @@ static int perf_c2c__record(int argc, const char **argv)

		rec_argv[i++] = "-e";
		rec_argv[i++] = perf_mem_events__name(j);
	};
	}

	if (all_user)
		rec_argv[i++] = "--all-user";