diff options
Diffstat (limited to 'kernel')
| -rw-r--r-- | kernel/auditsc.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/kernel/auditsc.c b/kernel/auditsc.c index bd084a13c719..9161e70a4379 100644 --- a/kernel/auditsc.c +++ b/kernel/auditsc.c | |||
| @@ -1913,9 +1913,6 @@ void __audit_getname(const char *name) | |||
| 1913 | struct audit_context *context = current->audit_context; | 1913 | struct audit_context *context = current->audit_context; |
| 1914 | struct audit_names *n; | 1914 | struct audit_names *n; |
| 1915 | 1915 | ||
| 1916 | if (IS_ERR(name) || !name) | ||
| 1917 | return; | ||
| 1918 | |||
| 1919 | if (!context->in_syscall) { | 1916 | if (!context->in_syscall) { |
| 1920 | #if AUDIT_DEBUG == 2 | 1917 | #if AUDIT_DEBUG == 2 |
| 1921 | printk(KERN_ERR "%s:%d(:%d): ignoring getname(%p)\n", | 1918 | printk(KERN_ERR "%s:%d(:%d): ignoring getname(%p)\n", |
