Skip to content

Commit

Permalink
debugfs: remove extra debugfs_create_file_unsafe() declaration
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Nicolai Stange authored and Greg Kroah-Hartman committed Aug 31, 2016
1 parent 3eab887 commit 24ef5f3
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions fs/debugfs/internal.h
Original file line number Diff line number Diff line change
Expand Up @@ -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_ */

0 comments on commit 24ef5f3

Please sign in to comment.