diff options
| author | Namhyung Kim <[email protected]> | 2014-06-14 16:19:01 +0000 |
|---|---|---|
| committer | Paul Moore <[email protected]> | 2014-06-19 18:53:15 +0000 |
| commit | f004afe60db5b98f2b981978fde8a0d4c6298c5d (patch) | |
| tree | 3ffe2e1c455bc8cf2e5f43e9601347bec9758655 /security/selinux/netnode.c | |
| parent | security: Used macros from compiler.h instead of __attribute__((...)) (diff) | |
| download | kernel-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
