aboutsummaryrefslogtreecommitdiffstats
path: root/security/selinux/netnode.c
diff options
context:
space:
mode:
authorChristian Göttsche <[email protected]>2022-01-25 14:14:18 +0000
committerPaul Moore <[email protected]>2022-01-26 20:57:39 +0000
commitb084e189b01a7614d3098aca4f2381a759460d88 (patch)
tree1c7c71d34f5d54335d3ec1e27ee3b16443e6cb94 /security/selinux/netnode.c
parentselinux: do not discard const qualifier in cast (diff)
downloadkernel-b084e189b01a7614d3098aca4f2381a759460d88.tar.gz
kernel-b084e189b01a7614d3098aca4f2381a759460d88.zip
selinux: simplify cred_init_security
The parameter of selinux_cred() is declared const, so an explicit cast dropping the const qualifier is not necessary. Without the cast the local variable cred serves no purpose. Reported by clang [-Wcast-qual] Signed-off-by: Christian Göttsche <[email protected]> Signed-off-by: Paul Moore <[email protected]>
Diffstat (limited to 'security/selinux/netnode.c')
0 files changed, 0 insertions, 0 deletions