diff options
author | Nikolay Borisov <nborisov@suse.com> | 2019-05-14 13:54:40 +0300 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2019-07-01 13:34:54 +0200 |
commit | 419684b2c217d2eba6a4a4cf0548c346be7879d7 (patch) | |
tree | 00583236f20f251f2d2e156f37373b422eeb5546 /net/lapb/lapb_timer.c | |
parent | b0d9e1ea17fdd3c1a13e2f9dffe7d808d6c9641a (diff) |
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 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions