From: Namhyung Kim Date: Sat, 14 Jun 2014 16:19:01 +0000 (+0900) Subject: selinux: simple cleanup for cond_read_node() X-Git-Tag: omap-for-v3.17/fixes-against-rc2~100^2~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f004afe60db5b98f2b981978fde8a0d4c6298c5d;p=pandora-kernel.git 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 (Minor tweak to the length parameter in the call to next_entry()) Signed-off-by: Paul Moore --- Reading git-diff-tree failed