From: Jesper Juhl Date: Tue, 3 May 2005 21:33:27 +0000 (-0700) Subject: [WAN]: kfree of NULL pointer is valid X-Git-Tag: v2.6.12-rc4~117^2~23^2~18 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6a5d362120a61a719095443194cc2d5e9a7027dd;p=pandora-kernel.git [WAN]: kfree of NULL pointer is valid kfree(0) is perfectly valid, checking pointers for NULL before calling kfree() on them is redundant. The patch below cleans away a few such redundant checks (and while I was around some of those bits I couldn't stop myself from making a few tiny whitespace changes as well). Signed-off-by: Jesper Juhl Acked-by: Arnaldo Carvalho de Melo Signed-off-by: David S. Miller --- Reading git-diff-tree failed