aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/stackcollapse-report
diff options
context:
space:
mode:
authorAnand Jain <[email protected]>2021-07-28 07:03:05 +0800
committerDavid Sterba <[email protected]>2021-08-23 13:19:09 +0200
commitefc222f8d79c0431c92ae8c72bc62d2e6bcf0a00 (patch)
treef7d06b092b80f8a5fde7ea548f8e742ddb4d3094 /tools/perf/scripts/python/bin/stackcollapse-report
parent7361b4ae03d9f3325852eec1a7395ec5f1ff802d (diff)
btrfs: simplify return values in btrfs_check_raid_min_devices
Function btrfs_check_raid_min_devices() returns error code from the enum btrfs_err_code and it starts from 1. So there is no need to check if ret is > 0. So drop this check and also drop the local variable ret. Signed-off-by: Anand Jain <[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