diff options
author | Heinrich Schuchardt | 2022-04-11 22:54:44 +0200 |
---|---|---|
committer | Tom Rini | 2022-04-19 14:51:11 -0400 |
commit | 9bd89bbd71b12030294210be7c54da4b7cc77f00 (patch) | |
tree | 5b31016e65a4183d77f8914aa5b37737b82c66a4 /tools/envcrc.c | |
parent | 7ffc66e7dbdd2c82b6b544574d39af6412a16b6e (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>
Diffstat (limited to 'tools/envcrc.c')
0 files changed, 0 insertions, 0 deletions