summaryrefslogtreecommitdiffstats
path: root/kernel/audit_watch.c
diff options
context:
space:
mode:
authorJan Kara <jack@suse.cz>2014-01-22 00:48:16 +0100
committerLinus Torvalds <torvalds@linux-foundation.org>2014-01-22 01:19:41 +0100
commit56b27cf6030dd36c56a5542ab8bfa406d337f083 (patch)
tree560d6ad630ff89ddeb3175828e4f1abb2b989875 /kernel/audit_watch.c
parentfsnotify: remove .should_send_event callback (diff)
downloadlinux-56b27cf6030dd36c56a5542ab8bfa406d337f083.tar.xz
linux-56b27cf6030dd36c56a5542ab8bfa406d337f083.zip
fsnotify: remove pointless NULL initializers
We usually rely on the fact that struct members not specified in the initializer are set to NULL. So do that with fsnotify function pointers as well. Signed-off-by: Jan Kara <jack@suse.cz> Reviewed-by: Christoph Hellwig <hch@lst.de> Cc: Eric Paris <eparis@parisplace.org> Cc: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'kernel/audit_watch.c')
-rw-r--r--kernel/audit_watch.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/kernel/audit_watch.c b/kernel/audit_watch.c
index 367ac9a79acc..2596fac5dcb4 100644
--- a/kernel/audit_watch.c
+++ b/kernel/audit_watch.c
@@ -505,9 +505,6 @@ static int audit_watch_handle_event(struct fsnotify_group *group,
static const struct fsnotify_ops audit_watch_fsnotify_ops = {
.handle_event = audit_watch_handle_event,
- .free_group_priv = NULL,
- .freeing_mark = NULL,
- .free_event = NULL,
};
static int __init audit_watch_init(void)