diff options
| author | Patrick Mochel <mochel@osdl.org> | 2002-07-29 22:06:06 -0700 |
|---|---|---|
| committer | Patrick Mochel <mochel@osdl.org> | 2002-07-29 22:06:06 -0700 |
| commit | 3442d2c4b005a12833830fc0cb69bfda82bc35d1 (patch) | |
| tree | a2da6808c315aaf3110ef6554edde85426c41955 /fs/driverfs | |
| parent | eb46f65287bfabaf72f7a733dd88b51efc20c919 (diff) | |
driverfs: Remove struct driver_dir_entry::files, since it's not being used anymore
Diffstat (limited to 'fs/driverfs')
| -rw-r--r-- | fs/driverfs/inode.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/fs/driverfs/inode.c b/fs/driverfs/inode.c index 57ea9e19678d..016a519c92f7 100644 --- a/fs/driverfs/inode.c +++ b/fs/driverfs/inode.c @@ -735,8 +735,6 @@ void driverfs_remove_file(struct driver_dir_entry * dir, const char * name) dentry = lookup_hash(&qstr,dir->dentry); if (!IS_ERR(dentry)) { - struct driver_file_entry * entry = dentry->d_fsdata; - /* make sure dentry is really there */ if (dentry->d_inode && (dentry->d_parent->d_inode == dir->dentry->d_inode)) { @@ -770,10 +768,8 @@ void driverfs_remove_dir(struct driver_dir_entry * dir) node = dentry->d_subdirs.next; while (node != &dentry->d_subdirs) { struct dentry * d = list_entry(node,struct dentry,d_child); - struct driver_file_entry * entry = d->d_fsdata; node = node->next; - driverfs_unlink(dentry->d_inode,d); dput(dentry); put_mount(); |
