aboutsummaryrefslogtreecommitdiffstats
path: root/security/selinux/hooks.c
diff options
context:
space:
mode:
authorNamhyung Kim <namhyung@kernel.org>2014-06-15 01:19:01 +0900
committerPaul Moore <pmoore@redhat.com>2014-06-19 14:53:15 -0400
commitf004afe60db5b98f2b981978fde8a0d4c6298c5d (patch)
tree3ffe2e1c455bc8cf2e5f43e9601347bec9758655 /security/selinux/hooks.c
parentsecurity: Used macros from compiler.h instead of __attribute__((...)) (diff)
downloadlinux-dev-f004afe60db5b98f2b981978fde8a0d4c6298c5d.tar.xz
linux-dev-f004afe60db5b98f2b981978fde8a0d4c6298c5d.zip
selinux: simple cleanup for cond_read_node()
The node->cur_state and len can be read in a single call of next_entry(). And setting len before reading is a dead write so can be eliminated. Signed-off-by: Namhyung Kim <namhyung@kernel.org> (Minor tweak to the length parameter in the call to next_entry()) Signed-off-by: Paul Moore <pmoore@redhat.com>
Diffstat (limited to 'security/selinux/hooks.c')
0 files changed, 0 insertions, 0 deletions