mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2025-01-08 14:13:53 +00:00
btrfs: zoned: remove redundant assignment in btrfs_check_zoned_mode
Remove the redundant assignment to zone_info variable in btrfs_check_zoned_mode function. Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com> Signed-off-by: Pankaj Raghav <p.raghav@samsung.com> Signed-off-by: David Sterba <dsterba@suse.com>
This commit is contained in:
parent
a55e65b80e
commit
f716fa4798
@ -652,8 +652,7 @@ int btrfs_check_zoned_mode(struct btrfs_fs_info *fs_info)
|
||||
if (model == BLK_ZONED_HM ||
|
||||
(model == BLK_ZONED_HA && incompat_zoned) ||
|
||||
(model == BLK_ZONED_NONE && incompat_zoned)) {
|
||||
struct btrfs_zoned_device_info *zone_info =
|
||||
device->zone_info;
|
||||
struct btrfs_zoned_device_info *zone_info;
|
||||
|
||||
zone_info = device->zone_info;
|
||||
zoned_devices++;
|
||||
|
Loading…
Reference in New Issue
Block a user