diff mbox series

[1/3] block: remove THROTL_IOPS_MAX

Message ID 20220211101149.2368042-2-ming.lei@redhat.com (mailing list archive)
State New, archived
Headers show
Series block: cleanup cgroup | expand

Commit Message

Ming Lei Feb. 11, 2022, 10:11 a.m. UTC
No one uses THROTL_IOPS_MAX any more, so remove it.

Signed-off-by: Ming Lei <ming.lei@redhat.com>
---
 include/linux/blk-cgroup.h | 2 --
 1 file changed, 2 deletions(-)

Comments

Christoph Hellwig Feb. 11, 2022, 3:56 p.m. UTC | #1
Looks good:

Reviewed-by: Christoph Hellwig <hch@lst.de>
diff mbox series

Patch

diff --git a/include/linux/blk-cgroup.h b/include/linux/blk-cgroup.h
index b4de2010fba5..bdc49bd4eef0 100644
--- a/include/linux/blk-cgroup.h
+++ b/include/linux/blk-cgroup.h
@@ -28,8 +28,6 @@ 
 /* percpu_counter batch for blkg_[rw]stats, per-cpu drift doesn't matter */
 #define BLKG_STAT_CPU_BATCH	(INT_MAX / 2)
 
-/* Max limits for throttle policy */
-#define THROTL_IOPS_MAX		UINT_MAX
 #define FC_APPID_LEN              129