selinux: drop cast to same type
authorChristian Göttsche <cgzones@googlemail.com>
Tue, 25 Jan 2022 14:14:15 +0000 (15:14 +0100)
committerPaul Moore <paul@paul-moore.com>
Wed, 26 Jan 2022 20:25:47 +0000 (15:25 -0500)
commit0b3c2b3dc96a57fd64691d666c4c7123a4f4e7b8
tree8de2a216ba0c5b332391fe896caf3b286c2bb453
parent9e2fe574c02bde46307255467a5e4291f65227fe
selinux: drop cast to same type

Both the lvalue scontextp and rvalue scontext are of the type char*.
Drop the redundant explicit cast not needed since commit 9a59daa03df7
("SELinux: fix sleeping allocation in security_context_to_sid"), where
the type of scontext changed from const char* to char*.

Signed-off-by: Christian Göttsche <cgzones@googlemail.com>
Signed-off-by: Paul Moore <paul@paul-moore.com>
security/selinux/ss/services.c