Staging: batman-adv: Remove NULL pointer check
authorSven Eckelmann <sven.eckelmann@gmx.de>
Sat, 2 Jan 2010 10:30:36 +0000 (11:30 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 4 Mar 2010 00:42:34 +0000 (16:42 -0800)
commitacdfd0e088502dc225f594b5a5598cab53ffd375
tree2f31c3448dc957a38e4c642c978e4a8765cabdad
parent23a51a8061567a47347ade59edf2a0bde0eece30
Staging: batman-adv: Remove NULL pointer check

It is safe to call kfree(NULL) which makes this extra check unneeded. It
was found using checkpatch.pl from linux-2.6

Signed-off-by: Sven Eckelmann <sven.eckelmann@gmx.de>
Acked-by: Simon Wunderlich <siwu@hrz.tu-chemnitz.de>
Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/batman-adv/hard-interface.c