diff options
author | 2012-10-10 15:25:20 -0400 | |
---|---|---|
committer | 2012-10-12 00:31:59 -0400 | |
commit | f78570dd6ad9563fffd24cc5e1808e1a1242f16e (patch) | |
tree | f7f7101c35a019e860233cbb0db2d2ef40bc23e0 /tools/perf/scripts/python/event_analyzing_sample.py | |
parent | Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs (diff) | |
download | linux-dev-f78570dd6ad9563fffd24cc5e1808e1a1242f16e.tar.xz linux-dev-f78570dd6ad9563fffd24cc5e1808e1a1242f16e.zip |
audit: remove unnecessary NULL ptr checks from do_path_lookup
As best I can tell, whenever retval == 0, nd->path.dentry and nd->inode
are also non-NULL. Eliminate those checks and the superfluous
audit_context check.
Signed-off-by: Eric Paris <eparis@redhat.com>
Signed-off-by: Jeff Layton <jlayton@redhat.com>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions