diff mbox series

[04/12] fs: Remove read_actor_t

Message ID 20220330144930.315951-5-willy@infradead.org (mailing list archive)
State New, archived
Headers show
Series Additional patches for 5.18 | expand

Commit Message

Matthew Wilcox March 30, 2022, 2:49 p.m. UTC
This typedef is not used any more.

Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
---
 include/linux/fs.h | 3 ---
 1 file changed, 3 deletions(-)

Comments

Christoph Hellwig March 30, 2022, 2:52 p.m. UTC | #1
On Wed, Mar 30, 2022 at 03:49:22PM +0100, Matthew Wilcox (Oracle) wrote:
> This typedef is not used any more.

Looks good,

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

Patch

diff --git a/include/linux/fs.h b/include/linux/fs.h
index 7c81887cc7e8..7588d3a0ced8 100644
--- a/include/linux/fs.h
+++ b/include/linux/fs.h
@@ -357,9 +357,6 @@  typedef struct {
 	int error;
 } read_descriptor_t;
 
-typedef int (*read_actor_t)(read_descriptor_t *, struct page *,
-		unsigned long, unsigned long);
-
 struct address_space_operations {
 	int (*writepage)(struct page *page, struct writeback_control *wbc);
 	int (*readpage)(struct file *, struct page *);