selinux: Casting (void *) value returned by kmalloc is useless
authorThomas Meyer <thomas@m3y3r.de>
Thu, 17 Nov 2011 22:43:40 +0000 (23:43 +0100)
committerJames Morris <jmorris@namei.org>
Mon, 19 Dec 2011 00:23:56 +0000 (11:23 +1100)
commit2ff6fa8fafd6fa94029fa0558a6b85956930f1f5
treeb9e12bb9ef1a92c68bb459ae82fa4e76629bcfca
parentb8aa09fd880eb4c2881b9f3c8a8d09c0404cd4eb
selinux: Casting (void *) value returned by kmalloc is useless

The semantic patch that makes this change is available
in scripts/coccinelle/api/alloc/drop_kmalloc_cast.cocci.

Signed-off-by: Thomas Meyer <thomas@m3y3r.de>
Signed-off-by: James Morris <jmorris@namei.org>
security/selinux/ss/conditional.c