btrfs: cleanup noused initialization of dev in btrfs_end_bio()
authorZhao Lei <zhaolei@cn.fujitsu.com>
Mon, 8 Jun 2015 12:05:50 +0000 (20:05 +0800)
committerChris Mason <clm@fb.com>
Tue, 30 Jun 2015 20:20:02 +0000 (13:20 -0700)
commit65f5333875d7bbfc13436e224a181d10a80d1ada
treed4ff1a5b334708119d78d1411104d65741e7a527
parentfe7599079b03d521d376da88920cc7b87f71ae25
btrfs: cleanup noused initialization of dev in btrfs_end_bio()

It is introduced by:
 c404e0dc2c843b154f9a36c3aec10d0a715d88eb
 Btrfs: fix use-after-free in the finishing procedure of the device replace

But seems no relationship with that bug, this patch revirt these
code block for cleanup.

Signed-off-by: Zhao Lei <zhaolei@cn.fujitsu.com>
Signed-off-by: Chris Mason <clm@fb.com>
fs/btrfs/volumes.c