diff options
author | hujianyang <hujianyang@huawei.com> | 2014-06-11 06:42:52 +0400 |
---|---|---|
committer | Artem Bityutskiy <artem.bityutskiy@linux.intel.com> | 2014-07-19 10:53:51 +0400 |
commit | b793a8c8885d87d9867fb2dbfdc1ef7b5877d71b (patch) | |
tree | 01da1e3301a8a93f1804b0136440b36eee17ec3c /fs/ubifs/super.c | |
parent | ce6ebdb87ef94b332fa0bfafd62830bf50e6e2c6 (diff) | |
download | linux-b793a8c8885d87d9867fb2dbfdc1ef7b5877d71b.tar.xz |
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/super.c')
-rw-r--r-- | fs/ubifs/super.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ubifs/super.c b/fs/ubifs/super.c index 3904c8574ef9..3b0c2c0b389f 100644 --- a/fs/ubifs/super.c +++ b/fs/ubifs/super.c @@ -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; } |