aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/params.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/params.c')
-rw-r--r--kernel/params.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/kernel/params.c b/kernel/params.c
index 1078b148ca80..b4da9505f4d2 100644
--- a/kernel/params.c
+++ b/kernel/params.c
@@ -694,18 +694,8 @@ static struct kset_uevent_ops module_uevent_ops = {
694struct kset *module_kset; 694struct kset *module_kset;
695int module_sysfs_initialized; 695int module_sysfs_initialized;
696 696
697static void module_release(struct kobject *kobj)
698{
699 /*
700 * Stupid empty release function to allow the memory for the kobject to
701 * be properly cleaned up. This will not need to be present for 2.6.25
702 * with the upcoming kobject core rework.
703 */
704}
705
706struct kobj_type module_ktype = { 697struct kobj_type module_ktype = {
707 .sysfs_ops = &module_sysfs_ops, 698 .sysfs_ops = &module_sysfs_ops,
708 .release = module_release,
709}; 699};
710 700
711/* 701/*