projects
/
GitHub
/
MotorolaMobilityLLC
/
kernel-slsi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a351e9b
)
audit: remove unnecessary semicolon in audit_field_valid()
author
Nicholas Mc Guire
<der.herr@hofr.at>
Tue, 2 May 2017 14:16:03 +0000
(10:16 -0400)
committer
Paul 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
patch
|
blob
|
blame
|
history
diff --git
a/kernel/auditfilter.c
b/kernel/auditfilter.c
index 880519d6cf2ad00fbb15a23e545a629f580ae6f8..239d11c3122c99cfa9b3da5f4a1658eb43ce34b6 100644
(file)
--- 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;
}