diff options
author | Filipe Manana <[email protected]> | 2024-04-03 12:38:21 +0100 |
---|---|---|
committer | David Sterba <[email protected]> | 2024-05-07 21:31:03 +0200 |
commit | 606a1c5de13e8cb017dfcf485c1a5c3565b1d2a5 (patch) | |
tree | 20282f59b1521dd9843e86f9d54e7af367102644 /tools/perf/scripts/python/stackcollapse.py | |
parent | 47f694487738af319d0e0fae26c61d77fd6d0c5e (diff) |
btrfs: remove list_empty() check at warn_about_uncommitted_trans()
At warn_about_uncommitted_trans(), there's no need to check if the list
is empty and return, because list_for_each_entry_safe() is safe to call
for an empty list, it simply does nothing. So remove the check.
Reviewed-by: Qu Wenruo <[email protected]>
Signed-off-by: Filipe Manana <[email protected]>
Reviewed-by: David Sterba <[email protected]>
Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions