Commit 44d454fc authored by Thomas Weißschuh's avatar Thomas Weißschuh Committed by Greg Kroah-Hartman
Browse files

sysfs: remove attribute_group::bin_attrs_new

parent 1d6249c1
Loading
Loading
Loading
Loading
+2 −5
Original line number Diff line number Diff line
@@ -106,10 +106,7 @@ struct attribute_group {
					    const struct bin_attribute *,
					    int);
	struct attribute	**attrs;
	union {
	const struct bin_attribute	*const *bin_attrs;
		const struct bin_attribute	*const *bin_attrs_new;
	};
};

#define SYSFS_PREALLOC		010000
@@ -293,7 +290,7 @@ __ATTRIBUTE_GROUPS(_name)

#define BIN_ATTRIBUTE_GROUPS(_name)				\
static const struct attribute_group _name##_group = {		\
	.bin_attrs_new = _name##_attrs,				\
	.bin_attrs = _name##_attrs,				\
};								\
__ATTRIBUTE_GROUPS(_name)