selinux: simple cleanup for cond_read_node()
authorNamhyung Kim <namhyung@kernel.org>
Sat, 14 Jun 2014 16:19:01 +0000 (01:19 +0900)
committerPaul Moore <pmoore@redhat.com>
Thu, 19 Jun 2014 18:53:15 +0000 (14:53 -0400)
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>
security/selinux/ss/conditional.c

Simple merge