diff options
author | Richard Guy Briggs <rgb@redhat.com> | 2014-12-23 16:39:54 -0500 |
---|---|---|
committer | Paul Moore <pmoore@redhat.com> | 2015-01-20 10:48:32 -0500 |
commit | 2fded7f44b8fcf79e274c3f0cfbd0298f95308f3 (patch) | |
tree | bbd6a7d08b006cf31d800a5eaf399ec437ce2104 | |
parent | fcf22d8267ad2601fe9b6c549d1be96401c23e0b (diff) | |
download | op-kernel-dev-2fded7f44b8fcf79e274c3f0cfbd0298f95308f3.zip op-kernel-dev-2fded7f44b8fcf79e274c3f0cfbd0298f95308f3.tar.gz |
audit: remove vestiges of vers_ops
Should have been removed with commit 18900909 ("audit: remove the old
depricated kernel interface").
Signed-off-by: Richard Guy Briggs <rgb@redhat.com>
Signed-off-by: Paul Moore <pmoore@redhat.com>
-rw-r--r-- | include/linux/audit.h | 1 | ||||
-rw-r--r-- | kernel/auditfilter.c | 2 |
2 files changed, 0 insertions, 3 deletions
diff --git a/include/linux/audit.h b/include/linux/audit.h index 9333192..b481779 100644 --- a/include/linux/audit.h +++ b/include/linux/audit.h @@ -46,7 +46,6 @@ struct audit_tree; struct sk_buff; struct audit_krule { - int vers_ops; u32 pflags; u32 flags; u32 listnr; diff --git a/kernel/auditfilter.c b/kernel/auditfilter.c index 103586e..81c94d7 100644 --- a/kernel/auditfilter.c +++ b/kernel/auditfilter.c @@ -425,7 +425,6 @@ static struct audit_entry *audit_data_to_entry(struct audit_rule_data *data, goto exit_nofree; bufp = data->buf; - entry->rule.vers_ops = 2; for (i = 0; i < data->field_count; i++) { struct audit_field *f = &entry->rule.fields[i]; @@ -758,7 +757,6 @@ struct audit_entry *audit_dupe_rule(struct audit_krule *old) return ERR_PTR(-ENOMEM); new = &entry->rule; - new->vers_ops = old->vers_ops; new->flags = old->flags; new->pflags = old->pflags; new->listnr = old->listnr; |