Delete unused variable

Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
This commit is contained in:
Kent Overstreet 2021-07-28 17:21:07 -04:00
parent f06b01e9ea
commit ac82bc1ea5

View File

@ -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);