ext4: delete declaration for ext4_split_extent()
authorEric Whitney <enwlinux@gmail.com>
Wed, 12 Feb 2020 16:21:41 +0000 (11:21 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Thu, 5 Mar 2020 21:23:43 +0000 (16:23 -0500)
There are no forward references for ext4_split_extent() in extents.c,
so delete its unnecessary declaration.

Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Eric Whitney <enwlinux@gmail.com>
Link: https://lore.kernel.org/r/20200212162141.22381-1-enwlinux@gmail.com
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
fs/ext4/extents.c

index 89aa9c7..a5338a8 100644 (file)
@@ -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,