Skip to content
Commit f004afe6 authored by Namhyung Kim's avatar Namhyung Kim Committed by Paul Moore
Browse files

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: default avatarNamhyung Kim <namhyung@kernel.org>
(Minor tweak to the length parameter in the call to next_entry())
Signed-off-by: default avatarPaul Moore <pmoore@redhat.com>
parent 4bb93983
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment