summaryrefslogtreecommitdiff
path: root/block
diff options
context:
space:
mode:
authorBaolin Wang <baolin.wang@linux.alibaba.com>2021-01-28 15:18:50 +0800
committerJens Axboe <axboe@kernel.dk>2021-01-28 07:33:36 -0700
commit6b4eeba331cd857701bcc28f4b688510b5d7a3e7 (patch)
tree05350884a3a1230e9efb3230dc96961dd7e65dec /block
parent59c157433fbc6a7f63f3d708ca2966d0f56bcb7c (diff)
blk-cgroup: Remove obsolete macro
Remove the obsolete 'MAX_KEY_LEN' macro. Signed-off-by: Baolin Wang <baolin.wang@linux.alibaba.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block')
-rw-r--r--block/blk-cgroup.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/block/blk-cgroup.c b/block/blk-cgroup.c
index 02ce2058c14b..f26a8415172a 100644
--- a/block/blk-cgroup.c
+++ b/block/blk-cgroup.c
@@ -32,8 +32,6 @@
#include <linux/psi.h>
#include "blk.h"
-#define MAX_KEY_LEN 100
-
/*
* blkcg_pol_mutex protects blkcg_policy[] and policy [de]activation.
* blkcg_pol_register_mutex nests outside of it and synchronizes entire