diff options
author | Jan Kara <jack@suse.cz> | 2014-01-21 18:48:16 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2014-01-21 19:19:41 -0500 |
commit | 56b27cf6030dd36c56a5542ab8bfa406d337f083 (patch) | |
tree | 560d6ad630ff89ddeb3175828e4f1abb2b989875 /fs/notify/dnotify | |
parent | 83c4c4b0a3aadc1ce7b5b2870ce1fc1f65498da0 (diff) |
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 'fs/notify/dnotify')
-rw-r--r-- | fs/notify/dnotify/dnotify.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/fs/notify/dnotify/dnotify.c b/fs/notify/dnotify/dnotify.c index 928688e3ee2f..0b9ff4395e6a 100644 --- a/fs/notify/dnotify/dnotify.c +++ b/fs/notify/dnotify/dnotify.c | |||
@@ -138,9 +138,6 @@ static void dnotify_free_mark(struct fsnotify_mark *fsn_mark) | |||
138 | 138 | ||
139 | static struct fsnotify_ops dnotify_fsnotify_ops = { | 139 | static struct fsnotify_ops dnotify_fsnotify_ops = { |
140 | .handle_event = dnotify_handle_event, | 140 | .handle_event = dnotify_handle_event, |
141 | .free_group_priv = NULL, | ||
142 | .freeing_mark = NULL, | ||
143 | .free_event = NULL, | ||
144 | }; | 141 | }; |
145 | 142 | ||
146 | /* | 143 | /* |