lkml.org 
[lkml]   [2021]   [Nov]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH] fs: Cleanup unused typedef 'read_actor_t'
Date
typedef 'read_actor_t' is not used now, so remove it.

Signed-off-by: Wu Bo <wubo40@huawei.com>
---
include/linux/fs.h | 3 ---
1 file changed, 3 deletions(-)

diff --git a/include/linux/fs.h b/include/linux/fs.h
index 1cb616f..6bf3bba 100644
--- a/include/linux/fs.h
+++ b/include/linux/fs.h
@@ -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 *);
--
2.26.2
\
 
 \ /
  Last update: 2021-11-16 07:37    [W:0.039 / U:0.604 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site