diff options
author | Namhyung Kim <namhyung@kernel.org> | 2014-06-15 01:19:01 +0900 |
---|---|---|
committer | Paul Moore <pmoore@redhat.com> | 2014-06-19 14:53:15 -0400 |
commit | f004afe60db5b98f2b981978fde8a0d4c6298c5d (patch) | |
tree | 3ffe2e1c455bc8cf2e5f43e9601347bec9758655 /init/init_task.c | |
parent | 4bb9398300a3a2c691e5c0ad6b9cfa78775e767e (diff) |
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 'init/init_task.c')
0 files changed, 0 insertions, 0 deletions