2021-01-28 07:24:12

by Baolin Wang

[permalink] [raw]
Subject: [PATCH] blk-cgroup: Remove obsolete macro

Remove the obsolete 'MAX_KEY_LEN' macro.

Signed-off-by: Baolin Wang <[email protected]>
---
block/blk-cgroup.c | 2 --
1 file changed, 2 deletions(-)

diff --git a/block/blk-cgroup.c b/block/blk-cgroup.c
index 4b4fcb5..a317c03 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
--
1.8.3.1


2021-01-28 14:38:06

by Jens Axboe

[permalink] [raw]
Subject: Re: [PATCH] blk-cgroup: Remove obsolete macro

On 1/28/21 12:18 AM, Baolin Wang wrote:
> Remove the obsolete 'MAX_KEY_LEN' macro.

Applied, thanks.

--
Jens Axboe