diff options
author | hujianyang <hujianyang@huawei.com> | 2014-06-11 10:42:52 +0800 |
---|---|---|
committer | Artem Bityutskiy <artem.bityutskiy@linux.intel.com> | 2014-07-19 09:53:51 +0300 |
commit | b793a8c8885d87d9867fb2dbfdc1ef7b5877d71b (patch) | |
tree | 01da1e3301a8a93f1804b0136440b36eee17ec3c /fs/ubifs/orphan.c | |
parent | ce6ebdb87ef94b332fa0bfafd62830bf50e6e2c6 (diff) |
UBIFS: remove useless statements
This patch removes useless and duplicate statements.
Signed-off-by: hujianyang <hujianyang@huawei.com>
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Diffstat (limited to 'fs/ubifs/orphan.c')
-rw-r--r-- | fs/ubifs/orphan.c | 1 |
1 files changed, 0 insertions, 1 deletions
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) |