ext4: delete declaration for ext4_split_extent()
diff mbox series

Message ID 20200212162141.22381-1-enwlinux@gmail.com
State New
Headers show
Series
  • ext4: delete declaration for ext4_split_extent()
Related show

Commit Message

Eric Whitney Feb. 12, 2020, 4:21 p.m. UTC
There are no forward references for ext4_split_extent() in extents.c,
so delete its unnecessary declaration.

Signed-off-by: Eric Whitney <enwlinux@gmail.com>
---
 fs/ext4/extents.c | 7 -------
 1 file changed, 7 deletions(-)

Comments

Darrick J. Wong Feb. 12, 2020, 5:02 p.m. UTC | #1
On Wed, Feb 12, 2020 at 11:21:41AM -0500, Eric Whitney wrote:
> There are no forward references for ext4_split_extent() in extents.c,
> so delete its unnecessary declaration.
> 
> Signed-off-by: Eric Whitney <enwlinux@gmail.com>

Looks good to me,
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>

--D

> ---
>  fs/ext4/extents.c | 7 -------
>  1 file changed, 7 deletions(-)
> 
> diff --git a/fs/ext4/extents.c b/fs/ext4/extents.c
> index 89aa9c7ae293..a5338a8da2ab 100644
> --- a/fs/ext4/extents.c
> +++ b/fs/ext4/extents.c
> @@ -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,
> -- 
> 2.11.0
>

Patch
diff mbox series

diff --git a/fs/ext4/extents.c b/fs/ext4/extents.c
index 89aa9c7ae293..a5338a8da2ab 100644
--- a/fs/ext4/extents.c
+++ b/fs/ext4/extents.c
@@ -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,