From: Zheng Liu Date: Sun, 19 Aug 2012 22:07:40 +0000 (-0400) Subject: ext4: remove duplicated declarations in inode.c X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=8a2f8460e816f4786939a0cefbda35af6bd1a1c5;p=openwrt%2Fstaging%2Fblogic.git ext4: remove duplicated declarations in inode.c In patch cb20d5188366f04d96d2e07b1240cc92170ade40, ext4_set_bh_endio and ext4_end_io_buffer_write are declared at the beginning of inode.c, and again later on in the middle of the file. Remove the second set of duplicated function declarations. Signed-off-by: Zheng Liu Signed-off-by: "Theodore Ts'o" --- diff --git a/fs/ext4/inode.c b/fs/ext4/inode.c index 6324f74e0342..b4effbda7a96 100644 --- a/fs/ext4/inode.c +++ b/fs/ext4/inode.c @@ -1954,9 +1954,6 @@ out: return ret; } -static int ext4_set_bh_endio(struct buffer_head *bh, struct inode *inode); -static void ext4_end_io_buffer_write(struct buffer_head *bh, int uptodate); - /* * Note that we don't need to start a transaction unless we're journaling data * because we should have holes filled from ext4_page_mkwrite(). We even don't