[PATCH] Don't check pointer for NULL before passing it to kfree [arch/powerpc/kernel...
authorJesper Juhl <jesper.juhl@gmail.com>
Sat, 4 Feb 2006 19:35:59 +0000 (20:35 +0100)
committerPaul Mackerras <paulus@samba.org>
Tue, 7 Feb 2006 10:51:53 +0000 (21:51 +1100)
commit95eff20feb679a2223a6da1e7f272fe9aa99591e
tree1a4e2a5d8c5d8a4f8511e491705e2e220065ce5d
parent4009d980224389c33dce1565e0ac9f673354c43f
[PATCH] Don't check pointer for NULL before passing it to kfree [arch/powerpc/kernel/rtas_flash.c]

Checking a pointer for NULL before passing it to kfree is pointless, kfree
does its own NULL checking of input.

Signed-off-by: Jesper Juhl <jesper.juhl@gmail.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/kernel/rtas_flash.c