Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 180584
b: refs/heads/master
c: 9307f6b
h: refs/heads/master
v: v3
  • Loading branch information
Alasdair G Kergon committed Feb 16, 2010
1 parent f3ede2f commit e9a25f9
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 9 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 9eef87da2a8ea4920e0d913ff977cac064b68ee0
refs/heads/master: 9307f6b19ac4f5887552b5b2992f391b866f7633
8 changes: 0 additions & 8 deletions trunk/drivers/md/dm-sysfs.c
Original file line number Diff line number Diff line change
Expand Up @@ -79,21 +79,13 @@ static struct sysfs_ops dm_sysfs_ops = {
.show = dm_attr_show,
};

/*
* The sysfs structure is embedded in md struct, nothing to do here
*/
static void dm_sysfs_release(struct kobject *kobj)
{
}

/*
* dm kobject is embedded in mapped_device structure
* no need to define release function here
*/
static struct kobj_type dm_ktype = {
.sysfs_ops = &dm_sysfs_ops,
.default_attrs = dm_attrs,
.release = dm_sysfs_release
};

/*
Expand Down

0 comments on commit e9a25f9

Please sign in to comment.