master/module.c
changeset 484 9fde4a17b820
parent 453 2ecaa53c6291
child 495 88c597598bbc
--- a/master/module.c	Mon Nov 06 14:21:35 2006 +0000
+++ b/master/module.c	Mon Nov 06 14:22:35 2006 +0000
@@ -115,12 +115,6 @@
         if (ec_master_init(master, i, ec_eoeif_count, device_number))
             goto out_free;
 
-        if (kobject_add(&master->kobj)) {
-            EC_ERR("Failed to add kobj.\n");
-            kobject_put(&master->kobj); // free master
-            goto out_free;
-        }
-
         list_add_tail(&master->list, &ec_masters);
     }