summaryrefslogtreecommitdiffstats
path: root/crypto/cbc.c
diff options
context:
space:
mode:
authorJeff Layton2012-10-10 21:25:21 +0200
committerAl Viro2012-10-12 06:31:59 +0200
commit9cec9d68ae53aae60b4a1fca4505c75a1d026392 (patch)
treeda913dbacdb569b382182beb70c660ac93a39e5a /crypto/cbc.c
parentaudit: pass in dentry to audit_copy_inode wherever possible (diff)
downloadkernel-qcow2-linux-9cec9d68ae53aae60b4a1fca4505c75a1d026392.tar.gz
kernel-qcow2-linux-9cec9d68ae53aae60b4a1fca4505c75a1d026392.tar.xz
kernel-qcow2-linux-9cec9d68ae53aae60b4a1fca4505c75a1d026392.zip
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 <jlayton@redhat.com> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'crypto/cbc.c')
0 files changed, 0 insertions, 0 deletions