btrfs: cleanup: use for() loop in btrfs_map_bio()
authorZhao Lei <zhaolei@cn.fujitsu.com>
Thu, 12 Feb 2015 07:42:16 +0000 (15:42 +0800)
committerDavid Sterba <dsterba@suse.cz>
Mon, 16 Feb 2015 17:48:44 +0000 (18:48 +0100)
commit08da757d3f29e9d33480ae1c44b557a2514d70c5
treed4a3b2df5f7766cbf5fe066f1d21869ff9e4be4f
parenta688a04aab72a775e07fe460f563b46f7791cfc1
btrfs: cleanup: use for() loop in btrfs_map_bio()

for() is obviously better in these code block, and remove noused
init-value to reduce about 6 bytes binary size.

Signed-off-by: Zhao Lei <zhaolei@cn.fujitsu.com>
Reviewed-by: David Sterba <dsterba@suse.cz>
Signed-off-by: David Sterba <dsterba@suse.cz>
fs/btrfs/volumes.c