summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stat-cpi.py
diff options
context:
space:
mode:
authorFilipe Manana <fdmanana@suse.com>2024-04-03 12:38:21 +0100
committerDavid Sterba <dsterba@suse.com>2024-05-07 21:31:03 +0200
commit606a1c5de13e8cb017dfcf485c1a5c3565b1d2a5 (patch)
tree20282f59b1521dd9843e86f9d54e7af367102644 /tools/perf/scripts/python/stat-cpi.py
parent47f694487738af319d0e0fae26c61d77fd6d0c5e (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 <wqu@suse.com> Signed-off-by: Filipe Manana <fdmanana@suse.com> Reviewed-by: David Sterba <dsterba@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'tools/perf/scripts/python/stat-cpi.py')
0 files changed, 0 insertions, 0 deletions