selinux: remove some no-op BUG_ONs
authorOndrej Mosnacek <omosnace@redhat.com>
Sat, 4 May 2019 19:59:06 +0000 (21:59 +0200)
committerPaul Moore <paul@paul-moore.com>
Tue, 21 May 2019 20:23:43 +0000 (16:23 -0400)
commitbeee56f3543ae688f7b3f65a5e234b59856eff48
tree0acc1ee87df781fe5e80c80a1b4e71d6a7f246c0
parent8ba1d53739d960cf118762da7850e625a8b462d9
selinux: remove some no-op BUG_ONs

Since acdf52d97f82 ("selinux: convert to kvmalloc"), these check whether
an address-of value is NULL, which is pointless.

Signed-off-by: Ondrej Mosnacek <omosnace@redhat.com>
Signed-off-by: Paul Moore <paul@paul-moore.com>
security/selinux/ss/services.c