mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 03:01:39 -04:00
perf tools: Fix feature-bits rework fallout, remove unused variable
Cc: Arnaldo Carvalho de Melo <[email protected]> Cc: Frederic Weisbecker <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Stephane Eranian <[email protected]> Cc: Robert Richter <[email protected]> Link: http://lkml.kernel.org/n/[email protected] Signed-off-by: Ingo Molnar <[email protected]>
This commit is contained in:
parent
37a058ea00
commit
f232806272
1 changed files with 0 additions and 3 deletions
|
|
@ -1415,15 +1415,12 @@ static int perf_header__adds_write(struct perf_header *header,
|
|||
struct perf_evlist *evlist, int fd)
|
||||
{
|
||||
int nr_sections;
|
||||
struct perf_session *session;
|
||||
struct perf_file_section *feat_sec, *p;
|
||||
int sec_size;
|
||||
u64 sec_start;
|
||||
int feat;
|
||||
int err;
|
||||
|
||||
session = container_of(header, struct perf_session, header);
|
||||
|
||||
nr_sections = bitmap_weight(header->adds_features, HEADER_FEAT_BITS);
|
||||
if (!nr_sections)
|
||||
return 0;
|
||||
|
|
|
|||
Loading…
Reference in a new issue