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/sb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'fs/ubifs/sb.c') diff --git a/fs/ubifs/sb.c b/fs/ubifs/sb.c index 4c37607a958e..c2c3d13efa1c 100644 --- a/fs/ubifs/sb.c +++ b/fs/ubifs/sb.c @@ -447,7 +447,7 @@ static int validate_sb(struct ubifs_info *c, struct ubifs_sb_node *sup) goto failed; } - if (c->default_compr < 0 || c->default_compr >= UBIFS_COMPR_TYPES_CNT) { + if (c->default_compr >= UBIFS_COMPR_TYPES_CNT) { err = 13; goto failed; } -- cgit v1.2.3-58-ga151