Re: [PATCH 1/1] fs: ext4: avoid NULL check before free()

2020-05-01 Thread Tom Rini
On Tue, Apr 28, 2020 at 09:50:02PM +0200, Heinrich Schuchardt wrote: > free() checks if its argument is NULL. Don't duplicate this in the calling > code. > > Signed-off-by: Heinrich Schuchardt Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

[PATCH 1/1] fs: ext4: avoid NULL check before free()

2020-04-28 Thread Heinrich Schuchardt
free() checks if its argument is NULL. Don't duplicate this in the calling code. Signed-off-by: Heinrich Schuchardt --- fs/ext4/ext4_journal.c | 15 +-- 1 file changed, 5 insertions(+), 10 deletions(-) diff --git a/fs/ext4/ext4_journal.c b/fs/ext4/ext4_journal.c index f8524e5a99..0c