linux-ext4.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/3] e2fsck: Remove unnecessary continue statement
@ 2009-07-06  8:14 Kazuya Mio
  2009-07-07  3:24 ` Theodore Tso
  0 siblings, 1 reply; 2+ messages in thread
From: Kazuya Mio @ 2009-07-06  8:14 UTC (permalink / raw)
  To: Theodore Tso; +Cc: linux-ext4

Remove the continue statement because it calls at the end of the loop.

Regards,
Kazuya Mio

Signed-off-by: Kazuya Mio <k-mio@sx.jp.nec.com>
---
 pass2.c |    2 --
 1 file changed, 2 deletions(-)

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);

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH 1/3] e2fsck: Remove unnecessary continue statement
  2009-07-06  8:14 [PATCH 1/3] e2fsck: Remove unnecessary continue statement Kazuya Mio
@ 2009-07-07  3:24 ` Theodore Tso
  0 siblings, 0 replies; 2+ messages in thread
From: Theodore Tso @ 2009-07-07  3:24 UTC (permalink / raw)
  To: Kazuya Mio; +Cc: linux-ext4

On Mon, Jul 06, 2009 at 05:14:13PM +0900, Kazuya Mio wrote:
> Remove the continue statement because it calls at the end of the loop.

Thanks, applied.

						- Ted

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-07-07  3:24 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-07-06  8:14 [PATCH 1/3] e2fsck: Remove unnecessary continue statement Kazuya Mio
2009-07-07  3:24 ` Theodore Tso

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).