Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Nicolai Stange and committed by
Greg Kroah-Hartman
24ef5f36 3eab887a

-4
-4
fs/debugfs/internal.h
··· 19 19 extern const struct file_operations debugfs_open_proxy_file_operations; 20 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 22 #endif /* _DEBUGFS_INTERNAL_H_ */