summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/linux/kobject.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/include/linux/kobject.h b/include/linux/kobject.h
index d5241786..c7362d63 100644
--- a/include/linux/kobject.h
+++ b/include/linux/kobject.h
@@ -98,12 +98,9 @@ static inline void kobject_put(struct kobject *kobj)
static inline void kobject_del(struct kobject *kobj)
{
- struct kernfs_node *sd;
-
if (!kobj)
return;
- sd = kobj->sd;
kobj->state_in_sysfs = 0;
#if 0
kobj_kset_leave(kobj);