From b793a8c8885d87d9867fb2dbfdc1ef7b5877d71b Mon Sep 17 00:00:00 2001 From: hujianyang Date: Wed, 11 Jun 2014 10:42:52 +0800 Subject: UBIFS: remove useless statements This patch removes useless and duplicate statements. Signed-off-by: hujianyang Signed-off-by: Artem Bityutskiy --- fs/ubifs/orphan.c | 1 - 1 file changed, 1 deletion(-) (limited to 'fs/ubifs/orphan.c') diff --git a/fs/ubifs/orphan.c b/fs/ubifs/orphan.c index f1c3e5a1b315..4409f486ecef 100644 --- a/fs/ubifs/orphan.c +++ b/fs/ubifs/orphan.c @@ -346,7 +346,6 @@ static int write_orph_nodes(struct ubifs_info *c, int atomic) int lnum; /* Unmap any unused LEBs after consolidation */ - lnum = c->ohead_lnum + 1; for (lnum = c->ohead_lnum + 1; lnum <= c->orph_last; lnum++) { err = ubifs_leb_unmap(c, lnum); if (err) -- cgit v1.2.3-70-g09d2