aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ubifs/tnc_commit.c
diff options
context:
space:
mode:
authorhujianyang <[email protected]>2014-06-11 02:42:52 +0000
committerArtem Bityutskiy <[email protected]>2014-07-19 06:53:51 +0000
commitb793a8c8885d87d9867fb2dbfdc1ef7b5877d71b (patch)
tree01da1e3301a8a93f1804b0136440b36eee17ec3c /fs/ubifs/tnc_commit.c
parentUBIFS: Add missing break statements in dbg_chk_pnode() (diff)
downloadkernel-b793a8c8885d87d9867fb2dbfdc1ef7b5877d71b.tar.gz
kernel-b793a8c8885d87d9867fb2dbfdc1ef7b5877d71b.zip
UBIFS: remove useless statements
This patch removes useless and duplicate statements. Signed-off-by: hujianyang <[email protected]> Signed-off-by: Artem Bityutskiy <[email protected]>
Diffstat (limited to 'fs/ubifs/tnc_commit.c')
-rw-r--r--fs/ubifs/tnc_commit.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/ubifs/tnc_commit.c b/fs/ubifs/tnc_commit.c
index 3600994f8411..7a205e046776 100644
--- a/fs/ubifs/tnc_commit.c
+++ b/fs/ubifs/tnc_commit.c
@@ -389,7 +389,6 @@ static int layout_in_gaps(struct ubifs_info *c, int cnt)
ubifs_dump_lprops(c);
}
/* Try to commit anyway */
- err = 0;
break;
}
p++;