Loading lib/kobject.c +2 −4 Original line number Diff line number Diff line Loading @@ -195,7 +195,6 @@ int kobject_add(struct kobject * kobj) if (error) { /* unlink does the kobject_put() for us */ unlink(kobj); if (parent) kobject_put(parent); /* be noisy on error issues */ Loading Loading @@ -420,7 +419,6 @@ void kobject_cleanup(struct kobject * kobj) t->release(kobj); if (s) kset_put(s); if (parent) kobject_put(parent); } Loading Loading
lib/kobject.c +2 −4 Original line number Diff line number Diff line Loading @@ -195,7 +195,6 @@ int kobject_add(struct kobject * kobj) if (error) { /* unlink does the kobject_put() for us */ unlink(kobj); if (parent) kobject_put(parent); /* be noisy on error issues */ Loading Loading @@ -420,7 +419,6 @@ void kobject_cleanup(struct kobject * kobj) t->release(kobj); if (s) kset_put(s); if (parent) kobject_put(parent); } Loading