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>
This commit is contained in:

committed by
Artem Bityutskiy

parent
ce6ebdb87e
commit
b793a8c888
@@ -75,7 +75,7 @@ static int validate_inode(struct ubifs_info *c, const struct inode *inode)
|
||||
return 1;
|
||||
}
|
||||
|
||||
if (ui->compr_type < 0 || ui->compr_type >= UBIFS_COMPR_TYPES_CNT) {
|
||||
if (ui->compr_type >= UBIFS_COMPR_TYPES_CNT) {
|
||||
ubifs_err("unknown compression type %d", ui->compr_type);
|
||||
return 2;
|
||||
}
|
||||
|
Reference in New Issue
Block a user