aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/stackcollapse-report
diff options
context:
space:
mode:
authorQu Wenruo <[email protected]>2021-03-25 15:14:34 +0800
committerDavid Sterba <[email protected]>2021-04-19 17:25:18 +0200
commitac5804eb8521bea5c1ec1b7e07ad87c469bf7437 (patch)
treed724a87088d37af25f1dfde415e3c7453be53363 /tools/perf/scripts/python/bin/stackcollapse-report
parentfc57ad8d338cbe78c3f7565f3c0812938835fad8 (diff)
btrfs: use min() to replace open-code in btrfs_invalidatepage()
In btrfs_invalidatepage() we introduce a temporary variable, new_len, to update ordered->truncated_len. But we can use min() to replace it completely and no need for the variable. Reviewed-by: Anand Jain <[email protected]> Signed-off-by: Qu Wenruo <[email protected]> Reviewed-by: David Sterba <[email protected]> Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions