From patchwork Mon Jul 6 08:14:13 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kazuya Mio X-Patchwork-Id: 29488 Return-Path: X-Original-To: patchwork-incoming@bilbo.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from ozlabs.org (ozlabs.org [203.10.76.45]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "mx.ozlabs.org", Issuer "CA Cert Signing Authority" (verified OK)) by bilbo.ozlabs.org (Postfix) with ESMTPS id E8861B6F20 for ; Mon, 6 Jul 2009 18:18:59 +1000 (EST) Received: by ozlabs.org (Postfix) id DE567DDD0B; Mon, 6 Jul 2009 18:18:59 +1000 (EST) Delivered-To: patchwork-incoming@ozlabs.org Received: from vger.kernel.org (vger.kernel.org [209.132.176.167]) by ozlabs.org (Postfix) with ESMTP id 4D138DDD01 for ; Mon, 6 Jul 2009 18:18:59 +1000 (EST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752861AbZGFISx (ORCPT ); Mon, 6 Jul 2009 04:18:53 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753764AbZGFISx (ORCPT ); Mon, 6 Jul 2009 04:18:53 -0400 Received: from TYO201.gate.nec.co.jp ([202.32.8.193]:58674 "EHLO tyo201.gate.nec.co.jp" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752861AbZGFISx (ORCPT ); Mon, 6 Jul 2009 04:18:53 -0400 Received: from mailgate3.nec.co.jp ([10.7.69.161]) by tyo201.gate.nec.co.jp (8.13.8/8.13.4) with ESMTP id n668Ipdb012003; Mon, 6 Jul 2009 17:18:51 +0900 (JST) Received: (from root@localhost) by mailgate3.nec.co.jp (8.11.7/3.7W-MAILGATE-NEC) id n668Ipi22027; Mon, 6 Jul 2009 17:18:51 +0900 (JST) Received: from mail03.kamome.nec.co.jp (mail03.kamome.nec.co.jp [10.25.43.7]) by mailsv3.nec.co.jp (8.13.8/8.13.4) with ESMTP id n668IpY2006955; Mon, 6 Jul 2009 17:18:51 +0900 (JST) Received: from kuichi.jp.nec.com ([10.26.220.17] [10.26.220.17]) by mail03.kamome.nec.co.jp with ESMTP id BT-MMP-351127; Mon, 6 Jul 2009 17:14:17 +0900 Received: from [10.64.170.99] ([10.64.170.99] [10.64.170.99]) by mail.jp.nec.com with ESMTP; Mon, 6 Jul 2009 17:14:13 +0900 Message-ID: <4A51B255.1090309@sx.jp.nec.com> Date: Mon, 06 Jul 2009 17:14:13 +0900 From: Kazuya Mio User-Agent: Thunderbird 2.0.0.22 (Windows/20090605) MIME-Version: 1.0 To: Theodore Tso CC: linux-ext4@vger.kernel.org Subject: [PATCH 1/3] e2fsck: Remove unnecessary continue statement Sender: linux-ext4-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-ext4@vger.kernel.org Remove the continue statement because it calls at the end of the loop. Regards, Kazuya Mio Signed-off-by: Kazuya Mio --- pass2.c | 2 -- 1 file changed, 2 deletions(-) -- 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 --git a/e2fsck/pass2.c b/e2fsck/pass2.c index bb3813c..889e39d 100644 --- a/e2fsck/pass2.c +++ b/e2fsck/pass2.c @@ -243,8 +243,6 @@ void e2fsck_pass2(e2fsck_t ctx) fix_problem(ctx, code, &pctx); bad_dir++; } - if (code == 0) - continue; } if (bad_dir && fix_problem(ctx, PR_2_HTREE_CLEAR, &pctx)) { clear_htree(ctx, dx_dir->ino);