summaryrefslogtreecommitdiffstats
path: root/block
diff options
context:
space:
mode:
authorDavid Sterba <dsterba@suse.cz>2015-02-24 19:45:15 +0100
committerDavid Sterba <dsterba@suse.cz>2015-03-03 17:24:35 +0100
commit258ece02126a67af263746e1ae5f8ddf0d492e14 (patch)
tree925c2ccfbad05c1e27f7bc9ad5495165aa35c2b3 /block
parent093adbcedf123f366e5eef0c4ccd815920f725f3 (diff)
downloadop-kernel-dev-258ece02126a67af263746e1ae5f8ddf0d492e14.zip
op-kernel-dev-258ece02126a67af263746e1ae5f8ddf0d492e14.tar.gz
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 <dsterba@suse.cz>
Diffstat (limited to 'block')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud