Commit b7a84dea authored by Nicholas Mc Guire's avatar Nicholas Mc Guire Committed by Paul Moore

audit: remove unnecessary semicolon in audit_field_valid()

The excess ; after the closing parenthesis is just code-noise it has no
and can be removed.
Signed-off-by: default avatarNicholas Mc Guire <der.herr@hofr.at>
[PM: tweak subject line]
Signed-off-by: default avatarPaul Moore <paul@paul-moore.com>
parent a351e9b9
...@@ -338,7 +338,7 @@ static int audit_field_valid(struct audit_entry *entry, struct audit_field *f) ...@@ -338,7 +338,7 @@ static int audit_field_valid(struct audit_entry *entry, struct audit_field *f)
entry->rule.listnr != AUDIT_FILTER_USER) entry->rule.listnr != AUDIT_FILTER_USER)
return -EINVAL; return -EINVAL;
break; break;
}; }
switch(f->type) { switch(f->type) {
default: default:
...@@ -412,7 +412,7 @@ static int audit_field_valid(struct audit_entry *entry, struct audit_field *f) ...@@ -412,7 +412,7 @@ static int audit_field_valid(struct audit_entry *entry, struct audit_field *f)
if (entry->rule.listnr != AUDIT_FILTER_EXIT) if (entry->rule.listnr != AUDIT_FILTER_EXIT)
return -EINVAL; return -EINVAL;
break; break;
}; }
return 0; return 0;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment