Skip to content

Commit 573bcbe

Browse files
t-8chgregkh
authored andcommitted
perf: arm-ni: Remove spurious NULL in attribute_group definition
This NULL value is most-likely a copy-paste error from an array definition. So far the NULL didn't have any effect. As there will be a union in struct attribute_group at this location, it will trigger a compiler warning. Signed-off-by: Thomas Weißschuh <linux@weissschuh.net> Link: https://lore.kernel.org/r/20241118-sysfs-const-attribute_group-fixes-v1-1-48e0b0ad8cba@weissschuh.net Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
1 parent 5943c0d commit 573bcbe

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

drivers/perf/arm-ni.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,6 @@ static struct attribute *arm_ni_other_attrs[] = {
247247

248248
static const struct attribute_group arm_ni_other_attr_group = {
249249
.attrs = arm_ni_other_attrs,
250-
NULL
251250
};
252251

253252
static const struct attribute_group *arm_ni_attr_groups[] = {

0 commit comments

Comments
 (0)