Skip to contentSkip to conversation

linux/fs.h: Remove repeated struct declaration

PATCH New Wan Jiabing 1 participant 1 message Apr 19, 2021 VFS

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 linux/fs.h: Remove repeated struct declaration

struct iov_iter is declared at 66th line.
The declaration here is unnecessary. Remove it.

---
 include/linux/fs.h | 2 --
 1 file changed, 2 deletions(-)
include/linux/fs.h +0 -2
index ec8f3ddf4a6a..8d11ecd767d2 100644
@@ -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);
Signature · 1 line
2.25.1