[PATCH -next] writeback: remove unused delaration of bdi_async_bio_wq

Xiu Jianfeng posted 1 patch 2 years, 4 months ago
include/linux/backing-dev.h | 1 -
1 file changed, 1 deletion(-)
[PATCH -next] writeback: remove unused delaration of bdi_async_bio_wq
Posted by Xiu Jianfeng 2 years, 4 months ago
From: Xiu Jianfeng <xiujianfeng@huawei.com>

It seems it was introduced by commit d3f77dfdc718 ("blkcg: implement
REQ_CGROUP_PUNT") unintentionally, but the definition does not exist,
remove it.

Signed-off-by: Xiu Jianfeng <xiujianfeng@huawei.com>
---
 include/linux/backing-dev.h | 1 -
 1 file changed, 1 deletion(-)

diff --git a/include/linux/backing-dev.h b/include/linux/backing-dev.h
index fbad4fcd408e..1a97277f99b1 100644
--- a/include/linux/backing-dev.h
+++ b/include/linux/backing-dev.h
@@ -46,7 +46,6 @@ extern spinlock_t bdi_lock;
 extern struct list_head bdi_list;
 
 extern struct workqueue_struct *bdi_wq;
-extern struct workqueue_struct *bdi_async_bio_wq;
 
 static inline bool wb_has_dirty_io(struct bdi_writeback *wb)
 {
-- 
2.34.1
Re: [PATCH -next] writeback: remove unused delaration of bdi_async_bio_wq
Posted by Tejun Heo 2 years, 4 months ago
On Sat, Aug 12, 2023 at 11:01:28AM +0000, Xiu Jianfeng wrote:
> From: Xiu Jianfeng <xiujianfeng@huawei.com>
> 
> It seems it was introduced by commit d3f77dfdc718 ("blkcg: implement
> REQ_CGROUP_PUNT") unintentionally, but the definition does not exist,
> remove it.
> 
> Signed-off-by: Xiu Jianfeng <xiujianfeng@huawei.com>

Acked-by: Tejun Heo <tj@kernel.org>

Thanks.

-- 
tejun