btrfs: clean up extraneous computations in add_delayed_refs
authorEdmund Nadolski <enadolski@suse.com>
Wed, 12 Jul 2017 22:20:11 +0000 (16:20 -0600)
committerDavid Sterba <dsterba@suse.com>
Wed, 16 Aug 2017 14:12:01 +0000 (16:12 +0200)
commit01747e92a996cc2f2965c28fde485da932836ef8
tree3ba163301ee2b5fe3d861791763a7b01fc35c564
parent3ec4d3238ab1655ae3f696c412fb3244cd3b58de
btrfs: clean up extraneous computations in add_delayed_refs

Repeating the same computation in multiple places is not
necessary.

Signed-off-by: Edmund Nadolski <enadolski@suse.com>
Signed-off-by: Jeff Mahoney <jeffm@suse.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/backref.c