Skip to contentSkip to conversation

fs: Cleanup unused typedef 'read_actor_t'

PATCH New Wu Bo 1 participant 1 message Nov 16, 2021 VFS

lore
Share & tools
lore

Wu Bo

author
#0 lore raw

PATCH 1/1 fs: Cleanup unused typedef 'read_actor_t'

typedef 'read_actor_t' is not used now, so remove it.

---
 include/linux/fs.h | 3 ---
 1 file changed, 3 deletions(-)
include/linux/fs.h +0 -3
index 1cb616f..6bf3bba 100644
@@ -363,9 +363,6 @@ static inline bool is_sync_kiocb(struct kiocb *kiocb)
 	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 *);
Signature · 1 line
2.26.2