diff options
author | Jiri Olsa <[email protected]> | 2019-01-10 11:12:57 +0100 |
---|---|---|
committer | Arnaldo Carvalho de Melo <[email protected]> | 2019-01-21 15:15:57 -0300 |
commit | 4f5a473d79c755d2e325c9a8dab01804d5416923 (patch) | |
tree | 4009ac07e924cb20bdbeb1f36a50ab9f4c05988b /drivers/usb/cdns3/cdns3-debug.h | |
parent | 7ba4da100261482afcb693a1b39e483c9c03aba2 (diff) |
perf session: Get rid of file_size variable
It's not needed and removing it makes the code a little simpler for the
upcoming changes.
It's safe to replace file_size with data_size, because the
perf_data__size() value is never smaller than data_offset + data_size.
Signed-off-by: Jiri Olsa <[email protected]>
Acked-by: Namhyung Kim <[email protected]>
Cc: Alexander Shishkin <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-debug.h')
0 files changed, 0 insertions, 0 deletions