public inbox for linux-block@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/1] loop: Remove struct loop_func_table
@ 2025-02-27 16:33 Zhu Yanjun
  2025-03-03 15:39 ` Christoph Hellwig
  2025-03-04 14:16 ` Jens Axboe
  0 siblings, 2 replies; 3+ messages in thread
From: Zhu Yanjun @ 2025-02-27 16:33 UTC (permalink / raw)
  To: axboe, linux-block; +Cc: 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.

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

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;
-- 
2.39.5


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH 1/1] loop: Remove struct loop_func_table
  2025-02-27 16:33 [PATCH 1/1] loop: Remove struct loop_func_table Zhu Yanjun
@ 2025-03-03 15:39 ` Christoph Hellwig
  2025-03-04 14:16 ` Jens Axboe
  1 sibling, 0 replies; 3+ messages in thread
From: Christoph Hellwig @ 2025-03-03 15:39 UTC (permalink / raw)
  To: Zhu Yanjun; +Cc: axboe, linux-block

Looks good:

Reviewed-by: Christoph Hellwig <hch@lst.de>


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH 1/1] loop: Remove struct loop_func_table
  2025-02-27 16:33 [PATCH 1/1] loop: Remove struct loop_func_table Zhu Yanjun
  2025-03-03 15:39 ` Christoph Hellwig
@ 2025-03-04 14:16 ` Jens Axboe
  1 sibling, 0 replies; 3+ messages in thread
From: Jens Axboe @ 2025-03-04 14:16 UTC (permalink / raw)
  To: linux-block, Zhu Yanjun


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,
-- 
Jens Axboe




^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2025-03-04 14:16 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-02-27 16:33 [PATCH 1/1] loop: Remove struct loop_func_table Zhu Yanjun
2025-03-03 15:39 ` Christoph Hellwig
2025-03-04 14:16 ` Jens Axboe

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox