Skip to content

Commit

Permalink
audit: remove unnecessary semicolon in audit_field_valid()
Browse files Browse the repository at this point in the history
The excess ; after the closing parenthesis is just code-noise it has no
and can be removed.

Signed-off-by: Nicholas Mc Guire <[email protected]>
[PM: tweak subject line]
Signed-off-by: Paul Moore <[email protected]>
  • Loading branch information
hofrat authored and pcmoore committed May 2, 2017
1 parent a351e9b commit b7a84de
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions kernel/auditfilter.c
Original file line number Diff line number Diff line change
Expand Up @@ -338,7 +338,7 @@ static int audit_field_valid(struct audit_entry *entry, struct audit_field *f)
entry->rule.listnr != AUDIT_FILTER_USER)
return -EINVAL;
break;
};
}

switch(f->type) {
default:
Expand Down Expand Up @@ -412,7 +412,7 @@ static int audit_field_valid(struct audit_entry *entry, struct audit_field *f)
if (entry->rule.listnr != AUDIT_FILTER_EXIT)
return -EINVAL;
break;
};
}
return 0;
}

Expand Down

0 comments on commit b7a84de

Please sign in to comment.