From: Nicholas Mc Guire Date: Tue, 2 May 2017 14:16:03 +0000 (-0400) Subject: audit: remove unnecessary semicolon in audit_field_valid() X-Git-Tag: MMI-PSA29.97-13-9~4971^2~21 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=b7a84deaf8d1b0e62b437a290a40d6380975f126;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git 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: Nicholas Mc Guire [PM: tweak subject line] Signed-off-by: Paul Moore --- diff --git a/kernel/auditfilter.c b/kernel/auditfilter.c index 880519d6cf2a..239d11c3122c 100644 --- a/kernel/auditfilter.c +++ b/kernel/auditfilter.c @@ -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: @@ -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; }