]> git.baikalelectronics.ru Git - kernel.git/commit
btrfs: Remove useless variable in write_ctree_super()
authorRashika <rashika.kheria@gmail.com>
Thu, 31 Oct 2013 11:20:42 +0000 (16:50 +0530)
committerChris Mason <chris.mason@fusionio.com>
Tue, 12 Nov 2013 03:12:40 +0000 (22:12 -0500)
commit2fdba994d5dbed95d00d580090398cd7c9e48852
treef67539b65cfa6d2d7eb72398a45a3011ac6d996d
parenta642263d3aae9ef6c35bafeffe1299bd4c613030
btrfs: Remove useless variable in write_ctree_super()

The function write_ctree_super() in disk-io.c uses variable ret to return
the result of function write_all_supers(). Since, this variable serves
no purpose, hence the patch removes it and returns the call of the
called function.

Reviewed-by: Zach Brown <zab@redhat.com>
Signed-off-by: Rashika Kheria <rashika.kheria@gmail.com>
Signed-off-by: Josef Bacik <jbacik@fusionio.com>
Signed-off-by: Chris Mason <chris.mason@fusionio.com>
fs/btrfs/disk-io.c