aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py
diff options
context:
space:
mode:
authorColy Li <[email protected]>2019-04-25 00:48:32 +0800
committerJens Axboe <[email protected]>2019-04-24 10:56:27 -0600
commit14215ee01f6377c81c25c2cecda729e8811d2826 (patch)
tree01cf8b314ad3e8d1897ff8aa21201441d372810c /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py
parenta4b732a248d12cbdb46999daf0bf288c011335eb (diff)
bcache: move definition of 'int ret' out of macro read_bucket()
'int ret' is defined as a local variable inside macro read_bucket(). Since this macro is called multiple times, and following patches will use a 'int ret' variable in bch_journal_read(), this patch moves definition of 'int ret' from macro read_bucket() to range of function bch_journal_read(). Signed-off-by: Coly Li <[email protected]> Reviewed-by: Hannes Reinecke <[email protected]> Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py')
0 files changed, 0 insertions, 0 deletions