diff options
author | Thomas Weißschuh <linux@weissschuh.net> | 2024-11-18 16:02:49 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2024-11-18 16:20:46 +0100 |
commit | e7240bd91f96f925a3bb8d2b9348fcb1db457b10 (patch) | |
tree | 0c9ef49affb0e1c0de103794cde86a617e93361b /kernel/cpu.c | |
parent | s390/con3215: Remove spurious NULL in attribute_group definition (diff) | |
download | linux-e7240bd91f96f925a3bb8d2b9348fcb1db457b10.tar.xz linux-e7240bd91f96f925a3bb8d2b9348fcb1db457b10.zip |
cpu: Remove spurious NULL in attribute_group definition
This NULL value is most-likely a copy-paste error from an array
definition. The NULL doesn't have any effect.
Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
Link: https://lore.kernel.org/r/20241118-sysfs-const-attribute_group-fixes-v1-3-48e0b0ad8cba@weissschuh.net
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'kernel/cpu.c')
-rw-r--r-- | kernel/cpu.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/kernel/cpu.c b/kernel/cpu.c index d293d52a3e00..f3ee615d2274 100644 --- a/kernel/cpu.c +++ b/kernel/cpu.c @@ -2866,7 +2866,6 @@ static struct attribute *cpuhp_cpu_attrs[] = { static const struct attribute_group cpuhp_cpu_attr_group = { .attrs = cpuhp_cpu_attrs, .name = "hotplug", - NULL }; static ssize_t states_show(struct device *dev, @@ -2898,7 +2897,6 @@ static struct attribute *cpuhp_cpu_root_attrs[] = { static const struct attribute_group cpuhp_cpu_root_attr_group = { .attrs = cpuhp_cpu_root_attrs, .name = "hotplug", - NULL }; #ifdef CONFIG_HOTPLUG_SMT @@ -3020,7 +3018,6 @@ static struct attribute *cpuhp_smt_attrs[] = { static const struct attribute_group cpuhp_smt_attr_group = { .attrs = cpuhp_smt_attrs, .name = "smt", - NULL }; static int __init cpu_smt_sysfs_init(void) |