Skip to contentSkip to conversation

loop: Remove struct loop_func_table

PATCH Applied Zhu Yanjun 3 participants 3 messages Feb 27, 2025 – Mar 4, 2025 Block layer

lore
Share & tools
lore

Zhu Yanjun

author
#0 lore raw

PATCH 1/1 loop: Remove struct loop_func_table

The struct is introduced in the commit 754d96798fab ("loop: remove loop.h"), but it is not used now. So remove it.

No functional changes.

---
 drivers/block/loop.c | 2 --
 1 file changed, 2 deletions(-)
drivers/block/loop.c +0 -2
index c05fe27a96b6..aea84b57891a 100644
@@ -45,8 +45,6 @@ enum {
 	Lo_deleting,
 };
 
-struct loop_func_table;
-
 struct loop_device {
 	int		lo_number;
 	loff_t		lo_offset;
Signature · 1 line
2.39.5
maintainer Applied
#2 lore raw
In reply to Zhu Yanjun
Quoted 8 lines · Zhu Yanjun

The struct is introduced in the commit 754d96798fab ("loop: remove loop.h"), but it is not used now. So remove it.

No functional changes.

[...]

Applied, thanks!

[1/1] loop: Remove struct loop_func_table

      commit: 3aab938c93ca952ebc96c85b753f2592de919369

Best regards,

Signature · 1 line
Jens Axboe