hwmon: w83781d: Unused sysfs group w83781d_group_other

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

w83781d.c contains a definition of sysfs group:

static const struct attribute_group w83781d_group_other = {
	.attrs = w83781d_attributes_other,
};

the only usage of which is:

static void w83781d_remove_files(struct device *dev)
{
	...
	sysfs_remove_group(&dev->kobj, &w83781d_group_other);
}

So, it seems the group should be either created in w83781d_create_files() or removed completely.
What do you think?

Found by Linux Driver Verification project (linuxtesting.org).

--
Alexey Khoroshilov
Linux Verification Center, ISPRAS
web: http://linuxtesting.org

--
To unsubscribe from this list: send the line "unsubscribe linux-hwmon" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [LM Sensors]     [Linux Sound]     [ALSA Users]     [ALSA Devel]     [Linux Audio Users]     [Linux Media]     [Kernel]     [Gimp]     [Yosemite News]     [Linux Media]

  Powered by Linux