diff mbox series

[1/1] loop: Remove struct loop_func_table

Message ID 20250227163343.55952-1-yanjun.zhu@linux.dev (mailing list archive)
State New
Headers show
Series [1/1] loop: Remove struct loop_func_table | expand

Checks

Context Check Description
shin/vmtest-linus-master-PR success PR summary
shin/vmtest-linus-master-VM_Test-0 success Logs for build-kernel

Commit Message

Zhu Yanjun Feb. 27, 2025, 4:33 p.m. UTC
The struct is introduced in the commit 754d96798fab
("loop: remove loop.h"), but it is not used now.
So remove it.

No functional changes.

Signed-off-by: Zhu Yanjun <yanjun.zhu@linux.dev>
---
 drivers/block/loop.c | 2 --
 1 file changed, 2 deletions(-)

Comments

Christoph Hellwig March 3, 2025, 3:39 p.m. UTC | #1
Looks good:

Reviewed-by: Christoph Hellwig <hch@lst.de>
Jens Axboe March 4, 2025, 2:16 p.m. UTC | #2
On Thu, 27 Feb 2025 17:33:43 +0100, Zhu Yanjun wrote:
> 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,
diff mbox series

Patch

diff --git a/drivers/block/loop.c b/drivers/block/loop.c
index c05fe27a96b6..aea84b57891a 100644
--- a/drivers/block/loop.c
+++ b/drivers/block/loop.c
@@ -45,8 +45,6 @@  enum {
 	Lo_deleting,
 };
 
-struct loop_func_table;
-
 struct loop_device {
 	int		lo_number;
 	loff_t		lo_offset;