From: Wu Bo <wubo40@huawei.com>
To: <viro@zeniv.linux.org.uk>
Cc: <linux-fsdevel@vger.kernel.org>, <linux-kernel@vger.kernel.org>,
<linfeilong@huawei.com>, <wubo40@huawei.com>
Subject: [PATCH] fs: Cleanup unused typedef 'read_actor_t'
Date: Tue, 16 Nov 2021 15:08:07 +0800 [thread overview]
Message-ID: <1637046487-36078-1-git-send-email-wubo40@huawei.com> (raw)
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
reply other threads:[~2021-11-16 6:38 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1637046487-36078-1-git-send-email-wubo40@huawei.com \
--to=wubo40@huawei.com \
--cc=linfeilong@huawei.com \
--cc=linux-fsdevel@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=viro@zeniv.linux.org.uk \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).