From: Jeff Layton Date: Wed, 10 Oct 2012 19:25:21 +0000 (-0400) Subject: audit: no need to walk list in audit_inode if name is NULL X-Git-Tag: v3.7-rc1~32^2~17 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9cec9d68ae53aae60b4a1fca4505c75a1d026392;p=pandora-kernel.git audit: no need to walk list in audit_inode if name is NULL If name is NULL then the condition in the loop will never be true. Also, with this change, we can eliminate the check for n->name == NULL since the equivalence check will never be true if it is. Signed-off-by: Jeff Layton Signed-off-by: Al Viro --- Reading git-diff-tree failed