diff --git a/fs/squashfs/sqfs.c b/fs/squashfs/sqfs.c index 96806a4a31..435081638b 100644 --- a/fs/squashfs/sqfs.c +++ b/fs/squashfs/sqfs.c @@ -1097,9 +1097,7 @@ int sqfs_probe(struct blk_desc *fs_dev_desc, struct disk_partition *fs_partition ctxt.sblk = sblk; ret = sqfs_decompressor_init(&ctxt); - if (ret) { - ret = -EINVAL; goto error; }