diff options
author | 2019-05-14 13:54:40 +0300 | |
---|---|---|
committer | 2019-07-01 13:34:54 +0200 | |
commit | 419684b2c217d2eba6a4a4cf0548c346be7879d7 (patch) | |
tree | 00583236f20f251f2d2e156f37373b422eeb5546 /fs/btrfs/tree-checker.c | |
parent | btrfs: Reduce critical section in btrfs_init_dev_replace_tgtdev (diff) | |
download | wireguard-linux-419684b2c217d2eba6a4a4cf0548c346be7879d7.tar.xz wireguard-linux-419684b2c217d2eba6a4a4cf0548c346be7879d7.zip |
btrfs: dev-replace: Remove impossible WARN_ON
This WARN_ON can never trigger because src_device cannot be null.
btrfs_find_device_by_devspec always returns either an error or a valid
pointer to the device. Just remove it.
Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de>
Signed-off-by: Nikolay Borisov <nborisov@suse.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/tree-checker.c')
0 files changed, 0 insertions, 0 deletions