Commit edbd05b
btrfs: defrag: remove pointless list_del_init() in defrag_one_cluster()
There's no need to call list_del_init() against each entry when freeing
the list, as the list is local and we are freeing the entry.
Reviewed-by: Qu Wenruo <wqu@suse.com>
Signed-off-by: Filipe Manana <fdmanana@suse.com>1 parent b9e1071 commit edbd05b
1 file changed
Lines changed: 1 addition & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1319 | 1319 | | |
1320 | 1320 | | |
1321 | 1321 | | |
1322 | | - | |
1323 | | - | |
| 1322 | + | |
1324 | 1323 | | |
1325 | | - | |
1326 | 1324 | | |
1327 | 1325 | | |
1328 | 1326 | | |
| |||
0 commit comments