summaryrefslogtreecommitdiff
path: root/kernel/audit_watch.c
diff options
context:
space:
mode:
authorNicholas Mc Guire <der.herr@hofr.at>2017-05-02 10:16:04 -0400
committerPaul Moore <paul@paul-moore.com>2017-05-02 10:16:04 -0400
commit9aab4f4ea7a4ca80ec3e0269ce2eb71a24f6fef9 (patch)
treec5a04148fb8b3e905379245cf9e0f65b60db263d /kernel/audit_watch.c
parentb5239fba69949a44290d4af517fc1c2eff3e36f6 (diff)
downloadlwn-9aab4f4ea7a4ca80ec3e0269ce2eb71a24f6fef9.tar.gz
lwn-9aab4f4ea7a4ca80ec3e0269ce2eb71a24f6fef9.zip
audit: remove unnecessary semicolon in audit_watch_handle_event()
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>
Diffstat (limited to 'kernel/audit_watch.c')
-rw-r--r--kernel/audit_watch.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/audit_watch.c b/kernel/audit_watch.c
index f79e4658433d..e293165dd063 100644
--- a/kernel/audit_watch.c
+++ b/kernel/audit_watch.c
@@ -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);