]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/blobdiff - include/linux/debugfs.h
debugfs: prevent access to possibly dead file_operations at file open
[mirror_ubuntu-zesty-kernel.git] / include / linux / debugfs.h
index 981e53ab84e8e9d48948967d6a98bc90977df9cc..fcafe2d389f9c5adcc4ecb98e2be1afcbd63ca27 100644 (file)
@@ -43,9 +43,6 @@ extern struct dentry *arch_debugfs_dir;
 
 #if defined(CONFIG_DEBUG_FS)
 
-/* declared over in file.c */
-extern const struct file_operations debugfs_file_operations;
-
 struct dentry *debugfs_create_file(const char *name, umode_t mode,
                                   struct dentry *parent, void *data,
                                   const struct file_operations *fops);