commit | 6a5d362120a61a719095443194cc2d5e9a7027dd | [log] [tgz] |
---|---|---|
author | Jesper Juhl <juhl-lkml@dif.dk> | Tue May 03 14:33:27 2005 -0700 |
committer | David S. Miller <davem@davemloft.net> | Tue May 03 14:33:27 2005 -0700 |
tree | 7cab13ff0d252b96f4eeda7475f805ffdd1c0c4a | |
parent | db46edc6d3b66bf708a8f23a9aa89f63a49ebe33 [diff] |
[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 <juhl-lkml@dif.dk> Acked-by: Arnaldo Carvalho de Melo <acme@ghostprotocols.net> Signed-off-by: David S. Miller <davem@davemloft.net>