diff options
author | Nicolai Stange <nicstange@gmail.com> | 2016-05-24 07:08:52 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-08-31 09:08:10 -0400 |
commit | 24ef5f360f22e4408cb49d75755d27d5a21820f7 (patch) | |
tree | 4cfb7a5d5f7a855a2faa17f13f1b0097d565e7e8 | |
parent | 3eab887a55424fc2c27553b7bfe32330df83f7b8 (diff) |
debugfs: remove extra debugfs_create_file_unsafe() declaration
debugfs_create_file_unsafe() is declared twice in exactly the same
manner each: once in fs/debugfs/internal.h and once in
include/linux/debugfs.h
All files that include the former also include the latter and thus,
the declaration in fs/debugfs/internal.h is superfluous.
Remove it.
Signed-off-by: Nicolai Stange <nicstange@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r-- | fs/debugfs/internal.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/fs/debugfs/internal.h b/fs/debugfs/internal.h index bba52634b995..b3e8443a1f47 100644 --- a/fs/debugfs/internal.h +++ b/fs/debugfs/internal.h | |||
@@ -19,8 +19,4 @@ extern const struct file_operations debugfs_noop_file_operations; | |||
19 | extern const struct file_operations debugfs_open_proxy_file_operations; | 19 | extern const struct file_operations debugfs_open_proxy_file_operations; |
20 | extern const struct file_operations debugfs_full_proxy_file_operations; | 20 | extern const struct file_operations debugfs_full_proxy_file_operations; |
21 | 21 | ||
22 | struct dentry *debugfs_create_file_unsafe(const char *name, umode_t mode, | ||
23 | struct dentry *parent, void *data, | ||
24 | const struct file_operations *fops); | ||
25 | |||
26 | #endif /* _DEBUGFS_INTERNAL_H_ */ | 22 | #endif /* _DEBUGFS_INTERNAL_H_ */ |