Btrfs: cleanup delayed-ref.c:find_ref_head()
authorFilipe Manana <fdmanana@gmail.com>
Wed, 12 Feb 2014 15:07:53 +0000 (15:07 +0000)
committerJosef Bacik <jbacik@fb.com>
Mon, 10 Mar 2014 19:16:46 +0000 (15:16 -0400)
commit85fdfdf6118dc00c2fcea8907815e48c98ee6c1d
tree7ad6d55dcded1a9d872f99f673c2f5ac326a5c2e
parent6103fb43fbc6d1caa78f26a1d0aa3d1a4525cea5
Btrfs: cleanup delayed-ref.c:find_ref_head()

The argument last wasn't used, all callers supplied a NULL value
for it. Also removed unnecessary intermediate storage of the result
of key comparisons.

Signed-off-by: Filipe David Borba Manana <fdmanana@gmail.com>
Signed-off-by: Josef Bacik <jbacik@fb.com>
fs/btrfs/delayed-ref.c