diff options
Diffstat (limited to 'fs/sysfs/inode.c')
| -rw-r--r-- | fs/sysfs/inode.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/fs/sysfs/inode.c b/fs/sysfs/inode.c index 565cac1d4200..8de13bafaa76 100644 --- a/fs/sysfs/inode.c +++ b/fs/sysfs/inode.c | |||
| @@ -166,16 +166,6 @@ int sysfs_create(struct dentry * dentry, int mode, int (*init)(struct inode *)) | |||
| 166 | return error; | 166 | return error; |
| 167 | } | 167 | } |
| 168 | 168 | ||
| 169 | struct dentry * sysfs_get_dentry(struct dentry * parent, const char * name) | ||
| 170 | { | ||
| 171 | struct qstr qstr; | ||
| 172 | |||
| 173 | qstr.name = name; | ||
| 174 | qstr.len = strlen(name); | ||
| 175 | qstr.hash = full_name_hash(name,qstr.len); | ||
| 176 | return lookup_hash(&qstr,parent); | ||
| 177 | } | ||
| 178 | |||
| 179 | /* | 169 | /* |
| 180 | * Get the name for corresponding element represented by the given sysfs_dirent | 170 | * Get the name for corresponding element represented by the given sysfs_dirent |
| 181 | */ | 171 | */ |
