SELinux: remove redundant pointer checks before calling kfree()
authorPaul Moore <paul.moore@hp.com>
Wed, 1 Aug 2007 15:12:58 +0000 (11:12 -0400)
committerJames Morris <jmorris@namei.org>
Thu, 2 Aug 2007 15:52:23 +0000 (11:52 -0400)
commit088999e98b8caecd31adc3b62223a228555c5ab7
treeee16fd7c6cdde90642550ee9937fafb96e979f67
parent9534f71ca33e5a9de26dfd43c76af86e005005dd
SELinux: remove redundant pointer checks before calling kfree()

We don't need to check for NULL pointers before calling kfree().

Signed-off-by: Paul Moore <paul.moore@hp.com>
Acked-by: Stephen Smalley <sds@tycho.nsa.gov>
Signed-off-by: James Morris <jmorris@namei.org>
security/selinux/hooks.c