Re: remove dead bdi congestion leftovers

From: Jens Axboe
Date: Wed Jul 08 2020 - 19:14:45 EST


On 7/1/20 3:06 AM, Christoph Hellwig wrote:
> Hi Jens,
>
> we have a lot of bdi congestion related code that is left around without
> any use. This series removes it in preparation of sorting out the bdi
> lifetime rules properly.

Please run series like this through a full compilation, for both this one
and the previous series I had to fix up issues like this:

drivers/md/bcache/request.c: In function âbch_cached_dev_request_initâ:
drivers/md/bcache/request.c:1233:18: warning: unused variable âgâ [-Wunused-variable]
1233 | struct gendisk *g = dc->disk.disk;
| ^
drivers/md/bcache/request.c: In function âbch_flash_dev_request_initâ:
drivers/md/bcache/request.c:1320:18: warning: unused variable âgâ [-Wunused-variable]
1320 | struct gendisk *g = d->disk;
| ^

Did the same here, applied it.

--
Jens Axboe