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>
This commit is contained in:
parent
fcf22d8267
commit
2fded7f44b
2 changed files with 0 additions and 3 deletions
|
@ -46,7 +46,6 @@ struct audit_tree;
|
|||
struct sk_buff;
|
||||
|
||||
struct audit_krule {
|
||||
int vers_ops;
|
||||
u32 pflags;
|
||||
u32 flags;
|
||||
u32 listnr;
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue