drbd: remove dead code in device_to_statistics
authorChristoph Hellwig <hch@lst.de>
Thu, 24 Sep 2020 06:51:29 +0000 (08:51 +0200)
committerJens Axboe <axboe@kernel.dk>
Thu, 24 Sep 2020 19:43:38 +0000 (13:43 -0600)
commitb807a2c5e0e2e81c96160682977c6f497cfcee96
treefcf65a3f48929d9b661f2c677bbc5d3117769f1c
parent402dd2cf46b177be5bcb138b7d7fd8f38aa130e4
drbd: remove dead code in device_to_statistics

Ever since the switch to blk-mq, a lower device not used for VM
writeback will not be marked congested, so the check will never
trigger.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Jan Kara <jack@suse.cz>
Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/block/drbd/drbd_nl.c