commit | 8e70943f1de1c6e3ac49d75aaeff8f84dffa314a | [log] [tgz] |
---|---|---|
author | Heinrich Schuchardt <heinrich.schuchardt@canonical.com> | Mon Apr 11 22:54:44 2022 +0200 |
committer | Tom Rini <trini@konsulko.com> | Tue Apr 19 14:51:11 2022 -0400 |
tree | 5b31016e65a4183d77f8914aa5b37737b82c66a4 | |
parent | f5686460c66279772b483fa90ffed5551bcd8ef0 [diff] |
fs/squashfs: simplify sqfs_read() * Don't check argument of free(). Free does this itself. * Reduce scope of data_buffer. Remove duplicate free(). * Avoid superfluous NULL assignment. Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Miquel Raynal <miquel.raynal@bootlin.com>