diff options
author | Liu Bo <[email protected]> | 2018-05-18 11:00:24 +0800 |
---|---|---|
committer | David Sterba <[email protected]> | 2018-05-30 16:46:51 +0200 |
commit | d80bb3f905ccf70b2c4dde541cff7286e6f936e8 (patch) | |
tree | 52dae8e835ae9a714694e5154f4c2ff3fd9c2640 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 662c653bfda58698cf48d7143a39bd3a063fd9c6 (diff) |
Btrfs: remove always true check in unlock_up
As unlock_up() is written as
for () {
if (!path->locks[i])
break;
...
if (... && path->locks[i]) {
}
}
Apparently, @path->locks[i] is always true at this 'if'.
Signed-off-by: Liu Bo <[email protected]>
Reviewed-by: David Sterba <[email protected]>
Reviewed-by: Qu Wenruo <[email protected]>
Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions