summaryrefslogtreecommitdiffstats
path: root/fs/ubifs/tnc_commit.c
diff options
context:
space:
mode:
authorhujianyang <hujianyang@huawei.com>2014-06-11 10:42:52 +0800
committerArtem Bityutskiy <artem.bityutskiy@linux.intel.com>2014-07-19 09:53:51 +0300
commitb793a8c8885d87d9867fb2dbfdc1ef7b5877d71b (patch)
tree01da1e3301a8a93f1804b0136440b36eee17ec3c /fs/ubifs/tnc_commit.c
parentce6ebdb87ef94b332fa0bfafd62830bf50e6e2c6 (diff)
downloadlinux-b793a8c8885d87d9867fb2dbfdc1ef7b5877d71b.tar.gz
linux-b793a8c8885d87d9867fb2dbfdc1ef7b5877d71b.tar.bz2
linux-b793a8c8885d87d9867fb2dbfdc1ef7b5877d71b.zip
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/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++;