btrfs-progs: check/original: Remove unused variable first_key
authorQu Wenruo <wqu@suse.com>
Thu, 22 Mar 2018 09:06:24 +0000 (17:06 +0800)
committerDavid Sterba <dsterba@suse.com>
Fri, 30 Mar 2018 20:15:55 +0000 (22:15 +0200)
commit35a629514ee0902171a4f76cd8145af6c750b3ac
tree16a142ce6852b96ab7b47452ad3614e21043a5c2
parentc074434fb5f0874dcf8523191359976b668527f8
btrfs-progs: check/original: Remove unused variable first_key

This @first_key variable is introduced in f5c4c4f3b75b
("btrfsck: add code to rebuild extent records"), however it's not only
unused, but also used incorrectly.

It's calling btrfs_item_key_to_cpu() on an node extent buffer.

Anyway, just remove it.

Fixes: f5c4c4f3b75b ("btrfsck: add code to rebuild extent records")
Signed-off-by: Qu Wenruo <wqu@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
check/main.c