From: David Sterba Date: Tue, 24 Feb 2015 18:45:15 +0000 (+0100) Subject: btrfs: remove shadowing variables in __btrfs_map_block X-Git-Tag: omap-for-v4.1/fixes-rc1~43^2~59^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=258ece02126a67af263746e1ae5f8ddf0d492e14;p=pandora-kernel.git btrfs: remove shadowing variables in __btrfs_map_block 1) We can safely use the function's 'i'. Fixes warning fs/btrfs/volumes.c:5257:7: warning: declaration of 'i' shadows a previous local fs/btrfs/volumes.c:4951:6: warning: shadowed declaration is here 2) A local variable duplicates name of an argument, we can use the value directly. Fixes warning fs/btrfs/volumes.c:5433:8: warning: declaration of 'length' shadows a parameter fs/btrfs/volumes.c:4935:27: warning: shadowed declaration is here Signed-off-by: David Sterba --- Reading git-diff-tree failed