Re: [PATCH/Trivial] jffs2: Avoid unneeded 'if' before kfree
From: Artem Bityutskiy
Date: Wed Jun 22 2011 - 01:34:57 EST
On Mon, 2011-06-13 at 22:16 +0200, Jesper Juhl wrote:
> kfree() deals gracefully with NULL pointers, so it's pointless to test for
> one prior to calling it.
> This removes such a test from jffs2_scan_medium().
> Signed-off-by: Jesper Juhl <jj@xxxxxxxxxxxxx>
Pushed to l2-mtd-2.6.git, thanks!
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/