浏览代码

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>
Nicholas Mc Guire 8 年之前
父节点
当前提交
9aab4f4ea7
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      kernel/audit_watch.c

+ 1 - 1
kernel/audit_watch.c

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