]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
audit: remove unnecessary semicolon in audit_mark_handle_event()
authorNicholas Mc Guire <der.herr@hofr.at>
Tue, 2 May 2017 14:16:04 +0000 (10:16 -0400)
committerPaul Moore <paul@paul-moore.com>
Tue, 2 May 2017 14:16:04 +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: tweaked subject line]
Signed-off-by: Paul Moore <paul@paul-moore.com>
kernel/audit_fsnotify.c

index 7ea57e516029d6b82a9e72adfea70d45f538cb2b..b16a5bdcea0dc073ac045dc624d546c3f97c90b2 100644 (file)
@@ -187,7 +187,7 @@ static int audit_mark_handle_event(struct fsnotify_group *group,
        default:
                BUG();
                return 0;
-       };
+       }
 
        if (mask & (FS_CREATE|FS_MOVED_TO|FS_DELETE|FS_MOVED_FROM)) {
                if (audit_compare_dname_path(dname, audit_mark->path, AUDIT_NAME_FULL))