diff options
author | 2019-07-02 22:15:21 +0800 | |
---|---|---|
committer | 2019-09-09 14:58:58 +0200 | |
commit | 99fccf33c203f63ea10e611c505a26686b0b8738 (patch) | |
tree | e250bda46b6e25fc1c90be1be6bf2b4c04004de5 /fs/btrfs/check-integrity.c | |
parent | Btrfs: fix ENOSPC errors, leading to transaction aborts, when cloning extents (diff) | |
download | linux-dev-99fccf33c203f63ea10e611c505a26686b0b8738.tar.xz linux-dev-99fccf33c203f63ea10e611c505a26686b0b8738.zip |
btrfs: remove set but not used variable 'offset'
Fixes gcc '-Wunused-but-set-variable' warning:
fs/btrfs/volumes.c: In function __btrfs_map_block:
fs/btrfs/volumes.c:6023:6: warning:
variable offset set but not used [-Wunused-but-set-variable]
It is not used any more since commit 343abd1c0ca9 ("btrfs: Use
btrfs_get_io_geometry appropriately")
Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/check-integrity.c')
0 files changed, 0 insertions, 0 deletions