]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
selinux: remove redundant assignment to len
authorColin Ian King <colin.king@canonical.com>
Sat, 14 Oct 2017 15:00:49 +0000 (16:00 +0100)
committerPaul Moore <paul@paul-moore.com>
Mon, 16 Oct 2017 22:37:23 +0000 (18:37 -0400)
commit73e4977873bfbd8698d5b116ba32d48f2a889276
tree10d8c881bc5d58ddd1aa0971734f57154152d478
parentadd24372141855b057bf53982824c5fe50898957
selinux: remove redundant assignment to len

The variable len is being set to zero and this value is never
being read since len is being set to a different value just
a few lines later.  Remove this redundant assignment. Cleans
up clang warning: Value stored to 'len' is never read

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Paul Moore <paul@paul-moore.com>
security/selinux/ss/conditional.c