diff options
| author | 2024-04-03 12:38:21 +0100 | |
|---|---|---|
| committer | 2024-05-07 21:31:03 +0200 | |
| commit | 606a1c5de13e8cb017dfcf485c1a5c3565b1d2a5 (patch) | |
| tree | 20282f59b1521dd9843e86f9d54e7af367102644 /fs/btrfs/tree-log.c | |
| parent | btrfs: remove pointless return value assignment at btrfs_finish_one_ordered() (diff) | |
| download | wireguard-linux-606a1c5de13e8cb017dfcf485c1a5c3565b1d2a5.tar.xz wireguard-linux-606a1c5de13e8cb017dfcf485c1a5c3565b1d2a5.zip | |
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 'fs/btrfs/tree-log.c')
0 files changed, 0 insertions, 0 deletions
