debugfs: remove extra debugfs_create_file_unsafe() declaration
authorNicolai Stange <nicstange@gmail.com>
Tue, 24 May 2016 11:08:52 +0000 (13:08 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 31 Aug 2016 13:08:10 +0000 (15:08 +0200)
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>
fs/debugfs/internal.h

index bba52634b995b00b990fe30897293bb750f5cdc1..b3e8443a1f478dd9884aa5ae830260ff1adce9e5 100644 (file)
@@ -19,8 +19,4 @@ extern const struct file_operations debugfs_noop_file_operations;
 extern const struct file_operations debugfs_open_proxy_file_operations;
 extern const struct file_operations debugfs_full_proxy_file_operations;
 
-struct dentry *debugfs_create_file_unsafe(const char *name, umode_t mode,
-                                       struct dentry *parent, void *data,
-                                       const struct file_operations *fops);
-
 #endif /* _DEBUGFS_INTERNAL_H_ */