[PATCH 1/1] fs/squashfs: simplify sqfs_read()

Tom Rini trini at konsulko.com
Wed Apr 20 15:12:08 CEST 2022


On Mon, Apr 11, 2022 at 10:54:44PM +0200, Heinrich Schuchardt wrote:

> * 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 at canonical.com>
> Reviewed-by: Miquel Raynal <miquel.raynal at bootlin.com>

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20220420/c0b515b8/attachment.sig>


More information about the U-Boot mailing list