diff mbox

[2/2] ext4: remove unused variable flags

Message ID 1359045044-31435-2-git-send-email-lczerner@redhat.com
State Superseded, archived
Headers show

Commit Message

Lukas Czerner Jan. 24, 2013, 4:30 p.m. UTC
Remove unused variable flags from dump_completed_IO(). The code is only
exercised when EXT4FS_DEBUG is defined.

Signed-off-by: Lukas Czerner <lczerner@redhat.com>
---
 fs/ext4/page-io.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

Comments

Zheng Liu Jan. 24, 2013, 4:46 p.m. UTC | #1
在 2013-1-25,上午12:30,Lukas Czerner <lczerner@redhat.com> 写道:

> Remove unused variable flags from dump_completed_IO(). The code is only
> exercised when EXT4FS_DEBUG is defined.
> 
> Signed-off-by: Lukas Czerner <lczerner@redhat.com>
Reviewed-by: Zheng Liu <wenqing.lz@taobao.com>
Regards,
                                                - Zheng
> ---
> fs/ext4/page-io.c |    1 -
> 1 files changed, 0 insertions(+), 1 deletions(-)
> 
> diff --git a/fs/ext4/page-io.c b/fs/ext4/page-io.c
> index 0016fbc..3331a76 100644
> --- a/fs/ext4/page-io.c
> +++ b/fs/ext4/page-io.c
> @@ -119,7 +119,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",
> -- 
> 1.7.7.6
> 
> --
> To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
--
To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

diff --git a/fs/ext4/page-io.c b/fs/ext4/page-io.c
index 0016fbc..3331a76 100644
--- a/fs/ext4/page-io.c
+++ b/fs/ext4/page-io.c
@@ -119,7 +119,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",