commit | f004afe60db5b98f2b981978fde8a0d4c6298c5d | [log] [tgz] |
---|---|---|
author | Namhyung Kim <namhyung@kernel.org> | Sun Jun 15 01:19:01 2014 +0900 |
committer | Paul Moore <pmoore@redhat.com> | Thu Jun 19 14:53:15 2014 -0400 |
tree | 3ffe2e1c455bc8cf2e5f43e9601347bec9758655 | |
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>