* [PATCH] linux/fs.h: Remove repeated struct declaration
@ 2021-04-19 11:39 Wan Jiabing
0 siblings, 0 replies; only message in thread
From: Wan Jiabing @ 2021-04-19 11:39 UTC (permalink / raw)
To: Alexander Viro, linux-fsdevel, linux-kernel; +Cc: kael_w, Wan Jiabing
struct iov_iter is declared at 66th line.
The declaration here is unnecessary. Remove it.
Signed-off-by: Wan Jiabing <wanjiabing@vivo.com>
---
include/linux/fs.h | 2 --
1 file changed, 2 deletions(-)
diff --git a/include/linux/fs.h b/include/linux/fs.h
index ec8f3ddf4a6a..8d11ecd767d2 100644
--- a/include/linux/fs.h
+++ b/include/linux/fs.h
@@ -1883,8 +1883,6 @@ struct dir_context {
*/
#define REMAP_FILE_ADVISORY (REMAP_FILE_CAN_SHORTEN)
-struct iov_iter;
-
struct file_operations {
struct module *owner;
loff_t (*llseek) (struct file *, loff_t, int);
--
2.25.1
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2021-04-19 11:41 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-19 11:39 [PATCH] linux/fs.h: Remove repeated struct declaration Wan Jiabing
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).