diff options
author | Christoph Hellwig <hch@lst.de> | 2020-07-01 11:06:19 +0200 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2020-07-09 01:05:53 +0200 |
commit | d5c69838454c409e06e978d90c4bd152f5f9fa30 (patch) | |
tree | 726036877cf25f08406ed759e20db405b6c469d6 /drivers/block/drbd | |
parent | mmc: remove the call to check_disk_change (diff) | |
download | linux-d5c69838454c409e06e978d90c4bd152f5f9fa30.tar.xz linux-d5c69838454c409e06e978d90c4bd152f5f9fa30.zip |
drbd: remove a bogus bdi_rw_congested call
bdi_rw_congested returns congestion state, so calling it without
looking at the return value doesn't make much sense.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'drivers/block/drbd')
-rw-r--r-- | drivers/block/drbd/drbd_proc.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/block/drbd/drbd_proc.c b/drivers/block/drbd/drbd_proc.c index 1c41cd9982a2..3c0193de2498 100644 --- a/drivers/block/drbd/drbd_proc.c +++ b/drivers/block/drbd/drbd_proc.c @@ -265,7 +265,6 @@ int drbd_seq_show(struct seq_file *seq, void *v) seq_printf(seq, "%2d: cs:Unconfigured\n", i); } else { /* reset device->congestion_reason */ - bdi_rw_congested(device->rq_queue->backing_dev_info); nc = rcu_dereference(first_peer_device(device)->connection->net_conf); wp = nc ? nc->wire_protocol - DRBD_PROT_A + 'A' : ' '; |