diff options
| author | Chengming Zhou <[email protected]> | 2023-04-13 14:28:05 +0800 |
|---|---|---|
| committer | Jens Axboe <[email protected]> | 2023-04-13 06:48:11 -0600 |
| commit | 8e15dfbd9ae21e518979e3823e335073e725f445 (patch) | |
| tree | c52de30f05381d2c5e2c361ce597a91a1ef43867 /drivers/pwm/pwm-stm32.c | |
| parent | 20de765f6d9da0c47b756429c60b41063b990a10 (diff) | |
blk-throttle: only enable blk-stat when BLK_DEV_THROTTLING_LOW
blk_throtl_register() will unconditionally enable blk-stat for gendisk
when register, even when we have no BLK_DEV_THROTTLING_LOW config.
Since the kernel always has only BLK_DEV_THROTTLING config and the
BLK_DEV_THROTTLING_LOW config is still in EXPERIMENTAL state, we can
just skip blk-stat when !BLK_DEV_THROTTLING_LOW.
Signed-off-by: Chengming Zhou <[email protected]>
Acked-by: Tejun Heo <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'drivers/pwm/pwm-stm32.c')
0 files changed, 0 insertions, 0 deletions