]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
audit: remove unnecessary semicolon in audit_watch_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_watch.c

index f79e4658433d45e9d32a299ebf3f427b508ada2c..e293165dd063680096045872175a65d4185046d3 100644 (file)
@@ -492,7 +492,7 @@ static int audit_watch_handle_event(struct fsnotify_group *group,
                BUG();
                inode = NULL;
                break;
-       };
+       }
 
        if (mask & (FS_CREATE|FS_MOVED_TO) && inode)
                audit_update_watch(parent, dname, inode->i_sb->s_dev, inode->i_ino, 0);