diff options
Diffstat (limited to 'fs/ext4/super.c')
-rw-r--r-- | fs/ext4/super.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/fs/ext4/super.c b/fs/ext4/super.c index 61182fe6254e..ef09d1443d1a 100644 --- a/fs/ext4/super.c +++ b/fs/ext4/super.c | |||
@@ -2799,9 +2799,6 @@ static void ext4_clear_request_list(void) | |||
2799 | struct ext4_li_request *elr; | 2799 | struct ext4_li_request *elr; |
2800 | 2800 | ||
2801 | mutex_lock(&ext4_li_info->li_list_mtx); | 2801 | mutex_lock(&ext4_li_info->li_list_mtx); |
2802 | if (list_empty(&ext4_li_info->li_request_list)) | ||
2803 | return; | ||
2804 | |||
2805 | list_for_each_safe(pos, n, &ext4_li_info->li_request_list) { | 2802 | list_for_each_safe(pos, n, &ext4_li_info->li_request_list) { |
2806 | elr = list_entry(pos, struct ext4_li_request, | 2803 | elr = list_entry(pos, struct ext4_li_request, |
2807 | lr_request); | 2804 | lr_request); |