mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 10:41:38 -04:00
perf tools: Remove junk code in mmap size handling
size is overriden later and used only then. Those lines are only junk, probably a leftover. Signed-off-by: Frederic Weisbecker <[email protected]> Cc: Ingo Molnar <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Arnaldo Carvalho de Melo <[email protected]> Cc: Stephane Eranian <[email protected]>
This commit is contained in:
parent
eac9eacee1
commit
dd5f5fd108
1 changed files with 0 additions and 3 deletions
|
|
@ -1018,9 +1018,6 @@ more:
|
|||
|
||||
if (session->header.needs_swap)
|
||||
perf_event_header__bswap(&event->header);
|
||||
size = event->header.size;
|
||||
if (size == 0)
|
||||
size = 8;
|
||||
|
||||
if (head + event->header.size > mmap_size) {
|
||||
if (mmaps[map_idx]) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue