]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
audit: remove unnecessary semicolon in audit_field_valid()
authorNicholas Mc Guire <der.herr@hofr.at>
Tue, 2 May 2017 14:16:03 +0000 (10:16 -0400)
committerPaul Moore <paul@paul-moore.com>
Tue, 2 May 2017 14:16:03 +0000 (10:16 -0400)
The excess ; after the closing parenthesis is just code-noise it has no
and can be removed.

Signed-off-by: Nicholas Mc Guire <der.herr@hofr.at>
[PM: tweak subject line]
Signed-off-by: Paul Moore <paul@paul-moore.com>
kernel/auditfilter.c

index 880519d6cf2ad00fbb15a23e545a629f580ae6f8..239d11c3122c99cfa9b3da5f4a1658eb43ce34b6 100644 (file)
@@ -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;
 }