From: Lukas Czerner Date: Tue, 29 Jan 2013 02:14:11 +0000 (-0500) Subject: ext4: remove unused variable flags X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=cfa7275482414fa87c9e51dd7b9d4d5d3f7a7fed;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git ext4: remove unused variable flags Remove unused variable flags from dump_completed_IO(). The code is only exercised when EXT4FS_DEBUG is defined. Signed-off-by: Lukas Czerner Signed-off-by: "Theodore Ts'o" Reviewed-by: Zheng Liu --- diff --git a/fs/ext4/page-io.c b/fs/ext4/page-io.c index 0290bf85f97e..5d8c66948e1b 100644 --- a/fs/ext4/page-io.c +++ b/fs/ext4/page-io.c @@ -118,7 +118,6 @@ static void dump_completed_IO(struct inode *inode) #ifdef EXT4FS_DEBUG struct list_head *cur, *before, *after; ext4_io_end_t *io, *io0, *io1; - unsigned long flags; if (list_empty(&EXT4_I(inode)->i_completed_io_list)) { ext4_debug("inode %lu completed_io list is empty\n",