mirror of https://gitee.com/openkylin/linux.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 <lczerner@redhat.com> Signed-off-by: "Theodore Ts'o" <tytso@mit.edu> Reviewed-by: Zheng Liu <wenqing.lz@taobao.com>
This commit is contained in:
parent
fe386132f6
commit
cfa7275482
|
@ -118,7 +118,6 @@ static void dump_completed_IO(struct inode *inode)
|
||||||
#ifdef EXT4FS_DEBUG
|
#ifdef EXT4FS_DEBUG
|
||||||
struct list_head *cur, *before, *after;
|
struct list_head *cur, *before, *after;
|
||||||
ext4_io_end_t *io, *io0, *io1;
|
ext4_io_end_t *io, *io0, *io1;
|
||||||
unsigned long flags;
|
|
||||||
|
|
||||||
if (list_empty(&EXT4_I(inode)->i_completed_io_list)) {
|
if (list_empty(&EXT4_I(inode)->i_completed_io_list)) {
|
||||||
ext4_debug("inode %lu completed_io list is empty\n",
|
ext4_debug("inode %lu completed_io list is empty\n",
|
||||||
|
|
Loading…
Reference in New Issue