[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20221102114354.162-3-Yuwei.Guan@zeekrlife.com>
Date: Wed, 2 Nov 2022 19:43:51 +0800
From: Yuwei Guan <ssawgyw@...il.com>
To: paolo.valente@...aro.org, axboe@...nel.dk, tj@...nel.org,
josef@...icpanda.com
Cc: linux-block@...r.kernel.org, cgroups@...r.kernel.org,
linux-kernel@...r.kernel.org, Yuwei.Guan@...krlife.com
Subject: [PATCH 2/5] block, bfq: remove unused bfq_log_bfqg
No callers left of bfq_log_bfqg, so remove it.
Signed-off-by: Yuwei Guan <Yuwei.Guan@...krlife.com>
---
block/bfq-iosched.h | 6 ------
1 file changed, 6 deletions(-)
diff --git a/block/bfq-iosched.h b/block/bfq-iosched.h
index 3de849e97e4e..256a9d267204 100644
--- a/block/bfq-iosched.h
+++ b/block/bfq-iosched.h
@@ -1103,11 +1103,6 @@ struct bfq_group *bfqq_group(struct bfq_queue *bfqq);
"%s " fmt, pid_str, ##args); \
} while (0)
-#define bfq_log_bfqg(bfqd, bfqg, fmt, args...) do { \
- blk_add_cgroup_trace_msg((bfqd)->queue, \
- &bfqg_to_blkg(bfqg)->blkcg->css, fmt, ##args); \
-} while (0)
-
#else /* CONFIG_BFQ_GROUP_IOSCHED */
#define bfq_log_bfqq(bfqd, bfqq, fmt, args...) do { \
@@ -1117,7 +1112,6 @@ struct bfq_group *bfqq_group(struct bfq_queue *bfqq);
bfq_bfqq_name((bfqq), pid_str, MAX_BFQQ_NAME_LENGTH); \
blk_add_trace_msg((bfqd)->queue, "%s " fmt, pid_str, ##args); \
} while (0)
-#define bfq_log_bfqg(bfqd, bfqg, fmt, args...) do {} while (0)
#endif /* CONFIG_BFQ_GROUP_IOSCHED */
--
2.34.1
Powered by blists - more mailing lists