aboutsummaryrefslogtreecommitdiffstats
path: root/security/selinux/netnode.c
diff options
context:
space:
mode:
authorNamhyung Kim <[email protected]>2014-06-14 16:19:01 +0000
committerPaul Moore <[email protected]>2014-06-19 18:53:15 +0000
commitf004afe60db5b98f2b981978fde8a0d4c6298c5d (patch)
tree3ffe2e1c455bc8cf2e5f43e9601347bec9758655 /security/selinux/netnode.c
parentsecurity: Used macros from compiler.h instead of __attribute__((...)) (diff)
downloadkernel-f004afe60db5b98f2b981978fde8a0d4c6298c5d.tar.gz
kernel-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 <[email protected]> (Minor tweak to the length parameter in the call to next_entry()) Signed-off-by: Paul Moore <[email protected]>
Diffstat (limited to 'security/selinux/netnode.c')
0 files changed, 0 insertions, 0 deletions