Skip to contentSkip to conversation

ext4: delete declaration for ext4_split_extent()

PATCH Applied Eric Whitney 3 participants 3 messages Feb 12, 2020 – Mar 5, 2020 ext4 file system

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ext4: delete declaration for ext4_split_extent()

There are no forward references for ext4_split_extent() in extents.c, so delete its unnecessary declaration.

---
 fs/ext4/extents.c | 7 -------
 1 file changed, 7 deletions(-)
fs/ext4/extents.c +0 -7
index 89aa9c7ae293..a5338a8da2ab 100644
@@ -83,13 +83,6 @@ static void ext4_extent_block_csum_set(struct inode *inode,
 	et->et_checksum = ext4_extent_block_csum(inode, eh);
 }
 
-static int ext4_split_extent(handle_t *handle,
-				struct inode *inode,
-				struct ext4_ext_path **ppath,
-				struct ext4_map_blocks *map,
-				int split_flag,
-				int flags);
-
 static int ext4_split_extent_at(handle_t *handle,
 			     struct inode *inode,
 			     struct ext4_ext_path **ppath,
Signature · 1 line
2.11.0
Reviewed-by on v1 1/1
#1 lore raw
Quoted 4 lines · Eric Whitney

There are no forward references for ext4_split_extent() in extents.c, so delete its unnecessary declaration.

Looks good to me,

--D

Quoted 25 lines
---
 fs/ext4/extents.c | 7 -------
 1 file changed, 7 deletions(-)
fs/ext4/extents.c +0 -7
index 89aa9c7ae293..a5338a8da2ab 100644
@@ -83,13 +83,6 @@ static void ext4_extent_block_csum_set(struct inode *inode,
 	et->et_checksum = ext4_extent_block_csum(inode, eh);
 }
 
-static int ext4_split_extent(handle_t *handle,
-				struct inode *inode,
-				struct ext4_ext_path **ppath,
-				struct ext4_map_blocks *map,
-				int split_flag,
-				int flags);
-
 static int ext4_split_extent_at(handle_t *handle,
 			     struct inode *inode,
 			     struct ext4_ext_path **ppath,
Signature · 1 line
2.11.0