From: Paul Moore Date: Thu, 22 Apr 2010 18:46:18 +0000 (-0400) Subject: selinux: Shuffle the sk_security_struct alloc and free routines X-Git-Tag: v2.6.36-rc1~584^2~57 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=84914b7ed1c5e0f3199a5a6997022758a70fcaff;p=pandora-kernel.git selinux: Shuffle the sk_security_struct alloc and free routines The sk_alloc_security() and sk_free_security() functions were only being called by the selinux_sk_alloc_security() and selinux_sk_free_security() functions so we just move the guts of the alloc/free routines to the callers and eliminate a layer of indirection. Signed-off-by: Paul Moore Acked-by: Eric Paris Signed-off-by: James Morris --- Reading git-diff-tree failed