btrfs: Do not reassign count in btrfs_run_delayed_refs

Code cleanup. count is already (unsgined long)-1. That is the reason
run_all was set. Do not reassign it (unsigned long)-1.

Signed-off-by: Goldwyn Rodrigues <rgoldwyn@suse.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
This commit is contained in:
Goldwyn Rodrigues 2016-09-22 14:11:47 -05:00 committed by David Sterba
parent 0ccd05285e
commit dd12d5b804
1 changed files with 0 additions and 1 deletions

View File

@ -2972,7 +2972,6 @@ again:
spin_unlock(&delayed_refs->lock);
goto out;
}
count = (unsigned long)-1;
while (node) {
head = rb_entry(node, struct btrfs_delayed_ref_head,